Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

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.

Method Detail

### getSelection

    public 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

    public 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

    public 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.