| java.lang.Object org.eclipse.ui.internal.AbstractWorkingSet
All known Subclasses: org.eclipse.ui.internal.AggregateWorkingSet, org.eclipse.ui.internal.WorkingSet,
AbstractWorkingSet | abstract public class AbstractWorkingSet implements IAdaptable,IWorkingSet(Code) | | Abstract baseclass for IWorkingSet implementations.
since: 3.2 |
AbstractWorkingSet | public AbstractWorkingSet(String name, String label)(Code) | | Create a new instance of this class
Parameters: name - the unique name for this working set Parameters: label - the user-friendly name for this working set |
connect | public void connect(IWorkingSetManager manager)(Code) | | Connect this working set to a manger.
Parameters: manager - the manager to connect to |
disconnect | public void disconnect()(Code) | | Disconnet this working set from its manager, if any.
|
fireWorkingSetChanged | protected void fireWorkingSetChanged(String property, Object oldValue)(Code) | | |
getAdapter | public Object getAdapter(Class adapter)(Code) | | Returns the receiver if the requested type is either IWorkingSet
or IPersistableElement.
Parameters: adapter - the requested type the receiver if the requested type is either IWorkingSet or IPersistableElement. |
getElements | public IAdaptable[] getElements()(Code) | | |
getElementsArray | protected ArrayList getElementsArray()(Code) | | Returns the elements array list. Lazily restores the elements from
persistence memento.
the elements array list |
getImage | final public ImageDescriptor getImage()(Code) | | |
internalSetElements | protected void internalSetElements(IAdaptable[] newElements)(Code) | | Create a copy of the elements to store in the receiver.
Parameters: elements - the elements to store a copy of in the receiver. |
isEmpty | public boolean isEmpty()(Code) | | |
restoreWorkingSet | abstract void restoreWorkingSet()(Code) | | |
|
|