Eclipse Platform
Release 3.1

org.eclipse.ui
Interface ILocalWorkingSetManager

All Superinterfaces:
IWorkingSetManager

public interface ILocalWorkingSetManager
extends IWorkingSetManager

A local working set manager can be used to manage a set of working sets independently from the working sets managed by the global working set manager. A local working set manager can be saved and restored using the methods saveState and restoreState. A new local working set manager can be created using IWorkbench.createLocalWorkingSetManager(). Clients of local working set managers are responsible for calling IWorkingSetManager.dispose() when the working sets it manages are no longer needed.

This interface is not intended to be implemented or extended by clients.

Since:
3.1
See Also:
IWorkbench.createLocalWorkingSetManager()

Field Summary
 
Fields inherited from interface org.eclipse.ui.IWorkingSetManager
CHANGE_WORKING_SET_ADD, CHANGE_WORKING_SET_CONTENT_CHANGE, CHANGE_WORKING_SET_NAME_CHANGE, CHANGE_WORKING_SET_REMOVE, CHANGE_WORKING_SET_UPDATER_INSTALLED
 
Method Summary
 void restoreState(IMemento memento)
          Restores the state of the working set manager from the given memento.
 void saveState(IMemento memento)
          Saves the state of the working set manager to the given memento.
 
Methods inherited from interface org.eclipse.ui.IWorkingSetManager
addPropertyChangeListener, addRecentWorkingSet, addWorkingSet, createWorkingSet, createWorkingSet, createWorkingSetEditWizard, createWorkingSetNewWizard, createWorkingSetSelectionDialog, createWorkingSetSelectionDialog, createWorkingSetSelectionDialog, dispose, getRecentWorkingSets, getWorkingSet, getWorkingSets, removePropertyChangeListener, removeWorkingSet
 

Method Detail

saveState

public void saveState(IMemento memento)
Saves the state of the working set manager to the given memento.

Parameters:
memento - the memento to save the state to

restoreState

public void restoreState(IMemento memento)
Restores the state of the working set manager from the given memento. The method can only be called as long as the working set manager is still empty.

Parameters:
memento - the memento to restore the state from

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.