|
Eclipse Platform Release 3.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A working set manager stores working sets and provides property change notification when a working set is added or removed.
The workbench working set manager can be accessed using IWorkbench#getWorkingSetManager()
This interface is not intended to be implemented by clients.
| Field Summary | |
| static String | CHANGE_WORKING_SET_ADD
Change event id when a working set is added newValue of the PropertyChangeEvent will be the added working set. |
| static String | CHANGE_WORKING_SET_CONTENT_CHANGE
Change event id when the working set contents changed newValue of the PropertyChangeEvent will be the changed working set. |
| static String | CHANGE_WORKING_SET_NAME_CHANGE
Change event id when the working set name changed. |
| static String | CHANGE_WORKING_SET_REMOVE
Change event id when a working set is removed newValue of the PropertyChangeEvent will be null. |
| Method Summary | |
| void | addPropertyChangeListener(IPropertyChangeListener listener)
Adds a property change listener. |
| void | addRecentWorkingSet(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. |
| void | addWorkingSet(IWorkingSet workingSet)
Adds a working set to the receiver. |
| IWorkingSet | createWorkingSet(IMemento memento)
Re-creates and returns a working set from the state captured within the given memento. |
| IWorkingSet | createWorkingSet(String name,
IAdaptable[] elements)
Creates a new working set. |
| IWorkingSetEditWizard | createWorkingSetEditWizard(IWorkingSet workingSet)
Creates a working set edit wizard for the specified working set. |
| IWorkingSetSelectionDialog | createWorkingSetSelectionDialog(Shell parent)
Deprecated. use createWorkingSetSelectionDialog(parent, true) instead |
| IWorkingSetSelectionDialog | createWorkingSetSelectionDialog(Shell parentShell,
boolean multi)
Creates a working set selection dialog that lists all working sets and allows the user to add, remove and edit working sets. |
| IWorkingSet[] | getRecentWorkingSets()
Returns the list of most recently used working sets. |
| IWorkingSet | getWorkingSet(String name)
Returns the working set with the specified name. |
| IWorkingSet[] | getWorkingSets()
Returns an array of all working sets stored in the receiver. |
| void | removePropertyChangeListener(IPropertyChangeListener listener)
Removes the property change listener. |
| void | removeWorkingSet(IWorkingSet workingSet)
Removes the working set |
|
Field Detail |
public static final String CHANGE_WORKING_SET_ADD
public static final String CHANGE_WORKING_SET_REMOVE
public static final String CHANGE_WORKING_SET_CONTENT_CHANGE
public static final String CHANGE_WORKING_SET_NAME_CHANGE
| Method Detail |
public void addPropertyChangeListener(IPropertyChangeListener listener)
public void addRecentWorkingSet(IWorkingSet workingSet)
public void addWorkingSet(IWorkingSet workingSet)
public IWorkingSet createWorkingSet(String name,
IAdaptable[] elements)
public IWorkingSet createWorkingSet(IMemento memento)
public IWorkingSetEditWizard createWorkingSetEditWizard(IWorkingSet workingSet)
public IWorkingSetSelectionDialog createWorkingSetSelectionDialog(Shell parent)
public IWorkingSetSelectionDialog createWorkingSetSelectionDialog(Shell parentShell,
boolean multi)
public IWorkingSet[] getRecentWorkingSets()
public IWorkingSet getWorkingSet(String name)
public IWorkingSet[] getWorkingSets()
public void removePropertyChangeListener(IPropertyChangeListener listener)
public void removeWorkingSet(IWorkingSet workingSet)
|
Eclipse Platform Release 3.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.