org.eclipse.ui.dialogs
Interface IWorkingSetSelectionDialog
-
public interface IWorkingSetSelectionDialog
A working set selection dialog displays the list of working
sets available in the workbench.
Use org.eclipse.ui.IWorkingSetManager#createWorkingSetSelectionDialog(Shell)
to create an instance of this dialog.
This interface is not intended to be implemented by clients.
-
Since:
- 2.0
-
See Also:
-
IWorkingSetManager
-
Restriction:
- This interface is not intended to be implemented by clients.
Method Summary
|
IWorkingSet[]
|
getSelection
()
Returns the working sets selected in the dialog or
null if the dialog was canceled. |
int
|
open
()
Displays the working set selection dialog. |
void
|
setSelection
(
IWorkingSet[] workingSets)
Sets the working sets that are initially selected in the dialog. |
getSelection
IWorkingSet[] getSelection()
- Returns the working sets selected in the dialog or
null
if the dialog was canceled.
-
-
Returns:
- the working sets selected in the dialog.
open
int open()
- Displays the working set selection dialog.
-
-
Returns:
- Window.OK if the dialog closes with the working
set selection confirmed.
Window.CANCEL if the dialog closes with the working set
selection dismissed.
-
See Also:
-
Window
setSelection
void setSelection(
IWorkingSet[] workingSets)
- Sets the working sets that are initially selected in the dialog.
-
-
Parameters:
-
workingSets
- the working sets to select in the dialog.
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.