Package org.eclipse.ui.internal
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Return the name for the receiver.protected IPath
getNewWorkbenchStateLocation
(IPath newWorkspaceRoot) Return the workbench settings location for the new roottransferSettings
(IPath newWorkspaceRoot) Transfer the settings to a workspace rooted at newWorkspacweMethods inherited from class org.eclipse.ui.internal.preferences.WorkbenchSettingsTransfer
noWorkingSettingsStatus
Methods inherited from class org.eclipse.ui.preferences.SettingsTransfer
getSettingsTransfers
-
Constructor Details
-
WorkbenchLayoutSettingsTransfer
public WorkbenchLayoutSettingsTransfer()Create a new instance of the receiver.
-
-
Method Details
-
transferSettings
Description copied from class:SettingsTransfer
Transfer the settings to a workspace rooted at newWorkspacwe- Specified by:
transferSettings
in classSettingsTransfer
- Parameters:
newWorkspaceRoot
- root of the new workspace- Returns:
IStatus
the status of the transfer.
-
getName
Description copied from class:SettingsTransfer
Return the name for the receiver.- Specified by:
getName
in classSettingsTransfer
- Returns:
- receiver name
-
getNewWorkbenchStateLocation
Return the workbench settings location for the new root- Overrides:
getNewWorkbenchStateLocation
in classorg.eclipse.ui.internal.preferences.WorkbenchSettingsTransfer
- Returns:
- IPath or
null
if it can't be determined.
-