Eclipse Platform
Release 3.6

org.eclipse.ui
Interface IAggregateWorkingSet

All Superinterfaces:
IAdaptable, IPersistable, IPersistableElement, IWorkingSet

public interface IAggregateWorkingSet
extends IWorkingSet

Contains a set of IWorkingSet. Sets of working sets are used by viewers to contain all of the working sets being shown. Sets can also be nested. In classes that implement this, the IWorkingSet.getElements() returns all of the elements of each of the working sets in this set. Instances of IWorkingSet can be cast to IAggregateWorkingSet if IWorkingSet.isAggregateWorkingSet() is true.

Since:
3.5 initial version
Restriction:
This interface is not intended to be implemented by clients.

Method Summary
 IWorkingSet[] getComponents()
          Returns the working sets contained in this aggregate working set.
 
Methods inherited from interface org.eclipse.ui.IWorkingSet
adaptElements, getElements, getId, getImage, getImageDescriptor, getLabel, getName, isAggregateWorkingSet, isEditable, isEmpty, isSelfUpdating, isVisible, setElements, setId, setLabel, setName
 
Methods inherited from interface org.eclipse.ui.IPersistableElement
getFactoryId
 
Methods inherited from interface org.eclipse.ui.IPersistable
saveState
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getComponents

IWorkingSet[] getComponents()
Returns the working sets contained in this aggregate working set. Clients can do what they wish with the returned array, as it will have no effect on the state of the this object.

Returns:
the working sets contained in this aggregate working set.

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.