Package org.eclipse.ui.internal
Class LocalWorkingSetManager
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.internal.AbstractWorkingSetManager
org.eclipse.ui.internal.LocalWorkingSetManager
- All Implemented Interfaces:
- EventListener,- IExtensionChangeHandler,- ILocalWorkingSetManager,- IWorkingSetManager,- BundleListener
public class LocalWorkingSetManager
extends AbstractWorkingSetManager
implements ILocalWorkingSetManager
- 
Field SummaryFields inherited from interface org.eclipse.ui.IWorkingSetManagerCHANGE_WORKING_SET_ADD, CHANGE_WORKING_SET_CONTENT_CHANGE, CHANGE_WORKING_SET_LABEL_CHANGE, CHANGE_WORKING_SET_NAME_CHANGE, CHANGE_WORKING_SET_REMOVE, CHANGE_WORKING_SET_UPDATER_INSTALLED, CHANGE_WORKING_SET_UPDATER_UNINSTALLED
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddRecentWorkingSet(IWorkingSet workingSet) Adds a working set to the top of the list of most recently used working sets, making it the most recently used working set.voidremoveWorkingSet(IWorkingSet workingSet) Removes the working setvoidrestoreState(IMemento memento) Restores the state of the working set manager from the given memento.voidSaves the state of the working set manager to the given memento.Methods inherited from class org.eclipse.ui.internal.AbstractWorkingSetManageraddExtension, addPropertyChangeListener, addToWorkingSets, addWorkingSet, bundleChanged, createAggregateWorkingSet, createWorkingSet, createWorkingSet, createWorkingSetEditWizard, createWorkingSetNewWizard, createWorkingSetSelectionDialog, createWorkingSetSelectionDialog, createWorkingSetSelectionDialog, dispose, equals, firePropertyChange, getAllWorkingSets, getRecentWorkingSets, getRecentWorkingSetsLength, getWorkingSet, getWorkingSets, hashCode, internalAddRecentWorkingSet, internalRemoveWorkingSet, removeExtension, removePropertyChangeListener, restoreMruList, restoreWorkingSet, restoreWorkingSetState, saveMruList, saveState, saveWorkingSetState, setRecentWorkingSetsLength, workingSetChangedMethods inherited from class org.eclipse.core.commands.common.EventManageraddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.ui.IWorkingSetManageraddPropertyChangeListener, addToWorkingSets, addWorkingSet, createAggregateWorkingSet, createWorkingSet, createWorkingSet, createWorkingSetEditWizard, createWorkingSetNewWizard, createWorkingSetSelectionDialog, createWorkingSetSelectionDialog, createWorkingSetSelectionDialog, dispose, getAllWorkingSets, getRecentWorkingSets, getRecentWorkingSetsLength, getWorkingSet, getWorkingSets, removePropertyChangeListener, setRecentWorkingSetsLength
- 
Constructor Details- 
LocalWorkingSetManager
 
- 
- 
Method Details- 
removeWorkingSetRemoves the working set- Specified by:
- removeWorkingSetin interface- IWorkingSetManager
- Parameters:
- workingSet- the working set to remove
 
- 
addRecentWorkingSetAdds a working set to the top of the list of most recently used working sets, making it the most recently used working set. The last (oldest) item will be deleted if the list exceeds the size limit.- Specified by:
- addRecentWorkingSetin interface- IWorkingSetManager
- Parameters:
- workingSet- the working set to add to the list of most recently used working sets.
 
- 
saveStateSaves the state of the working set manager to the given memento.- Specified by:
- saveStatein interface- ILocalWorkingSetManager
- Parameters:
- memento- the memento to save the state to
 
- 
restoreStateRestores 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.- Specified by:
- restoreStatein interface- ILocalWorkingSetManager
- Parameters:
- memento- the memento to restore the state from
 
 
-