Package org.eclipse.ui.dialogs
Class WorkingSetGroup
- java.lang.Object
-
- org.eclipse.ui.dialogs.WorkingSetGroup
-
public final class WorkingSetGroup extends Object
Instances of this class provide aWorkingSetConfigurationBlock
wrapped with an SWT Group container.- Since:
- 3.4
-
-
Constructor Summary
Constructors Constructor Description WorkingSetGroup(Composite composite, IStructuredSelection currentSelection, String[] workingSetTypes)
Create a new instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IWorkingSet[]
getSelectedWorkingSets()
Return the working sets selected by the containedWorkingSetConfigurationBlock
.
-
-
-
Constructor Detail
-
WorkingSetGroup
public WorkingSetGroup(Composite composite, IStructuredSelection currentSelection, String[] workingSetTypes)
Create a new instance of this class.- Parameters:
composite
- parent compositecurrentSelection
- the initial working set selection to pass to theWorkingSetConfigurationBlock
workingSetTypes
- the types of working sets that can be selected by theWorkingSetConfigurationBlock
-
-
Method Detail
-
getSelectedWorkingSets
public IWorkingSet[] getSelectedWorkingSets()
Return the working sets selected by the containedWorkingSetConfigurationBlock
.- Returns:
- the selected working sets
-
-