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:
Restriction:
This interface is not intended to be implemented by clients.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the working sets selected in the dialog or null if the dialog was canceled.
    int
    Displays the working set selection dialog.
    void
    setSelection(IWorkingSet[] workingSets)
    Sets the working sets that are initially selected in the dialog.
  • Method Details

    • 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:
    • 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.