Class WorkbenchLayoutSettingsTransfer

java.lang.Object
org.eclipse.ui.preferences.SettingsTransfer
org.eclipse.ui.internal.preferences.WorkbenchSettingsTransfer
org.eclipse.ui.internal.WorkbenchLayoutSettingsTransfer

public class WorkbenchLayoutSettingsTransfer extends org.eclipse.ui.internal.preferences.WorkbenchSettingsTransfer
The WorkbenchSettings handles the recording and restoring of workbench settings.
Since:
3.3
  • Constructor Details

    • WorkbenchLayoutSettingsTransfer

      public WorkbenchLayoutSettingsTransfer()
      Create a new instance of the receiver.
  • Method Details

    • transferSettings

      public IStatus transferSettings(IPath newWorkspaceRoot)
      Description copied from class: SettingsTransfer
      Transfer the settings to a workspace rooted at newWorkspacwe
      Specified by:
      transferSettings in class SettingsTransfer
      Parameters:
      newWorkspaceRoot - root of the new workspace
      Returns:
      IStatus the status of the transfer.
    • getName

      public String getName()
      Description copied from class: SettingsTransfer
      Return the name for the receiver.
      Specified by:
      getName in class SettingsTransfer
      Returns:
      receiver name
    • getNewWorkbenchStateLocation

      protected IPath getNewWorkbenchStateLocation(IPath newWorkspaceRoot)
      Return the workbench settings location for the new root
      Overrides:
      getNewWorkbenchStateLocation in class org.eclipse.ui.internal.preferences.WorkbenchSettingsTransfer
      Returns:
      IPath or null if it can't be determined.