| |
|
| java.lang.Object org.eclipse.ui.internal.AbstractWorkingSet org.eclipse.ui.internal.WorkingSet
WorkingSet | public class WorkingSet extends AbstractWorkingSet (Code) | | A working set holds a number of IAdaptable elements. A working set is
intended to group elements for presentation to the user or for operations on
a set of elements.
See Also: org.eclipse.ui.IWorkingSet since: 2.0 |
Constructor Summary | |
public | WorkingSet(String name, String uniqueId, IAdaptable[] elements) Creates a new working set.
Parameters: name - the name of the new working set. | | WorkingSet(String name, String label, IMemento memento) Creates a new working set from a memento.
Parameters: name - the name of the new working set. |
WorkingSet | public WorkingSet(String name, String uniqueId, IAdaptable[] elements)(Code) | | Creates a new working set.
Parameters: name - the name of the new working set. Should not have leading ortrailing whitespace. Parameters: uniqueId - the unique id Parameters: element - the content of the new working set. May be empty but notnull . |
WorkingSet | WorkingSet(String name, String label, IMemento memento)(Code) | | Creates a new working set from a memento.
Parameters: name - the name of the new working set. Should not have leading ortrailing whitespace. Parameters: memento - persistence memento containing the elements of the workingset. |
adaptElements | public IAdaptable[] adaptElements(IAdaptable[] objects)(Code) | | |
equals | public boolean equals(Object object)(Code) | | Tests the receiver and the object for equality
Parameters: object - object to compare the receiver to true=the object equals the receiver, the name is the same. falseotherwise |
getImageDescriptor | public ImageDescriptor getImageDescriptor()(Code) | | |
hashCode | public int hashCode()(Code) | | Returns the hash code.
the hash code. |
isAggregateWorkingSet | public boolean isAggregateWorkingSet()(Code) | | |
isEditable | public boolean isEditable()(Code) | | |
isSelfUpdating | public boolean isSelfUpdating()(Code) | | |
isVisible | public boolean isVisible()(Code) | | |
restoreWorkingSet | void restoreWorkingSet()(Code) | | Recreates the working set elements from the persistence memento.
|
setElements | public void setElements(IAdaptable[] newElements)(Code) | | |
|
|
|