| org.eclipse.jdt.internal.ui.workingsets.AbstractWorkingSetWizardPage
All known Subclasses: org.eclipse.jdt.internal.ui.workingsets.JavaWorkingSetPage,
AbstractWorkingSetWizardPage | abstract public class AbstractWorkingSetWizardPage extends WizardPage implements IWorkingSetPage(Code) | | A tree viewer on the left is used to show the workspace content, a table viewer on the
right is used to show the working set content. Buttons to move content from right
to left and vice versa are available between the two viewers. A text field allows to
set/change the working sets name.
since: 3.1 |
Method Summary | |
abstract protected void | configureTable(TableViewer table) Configure the table viewer used on the right side of the dialog. | abstract protected void | configureTree(TreeViewer tree) Configure the tree viewer used on the left side of the dialog. | public void | createControl(Composite parent) | public void | finish() | abstract protected Object[] | getInitialWorkingSetElements(IWorkingSet workingSet) Returns the elements which are shown in the table initially. | public IWorkingSet | getSelection() | public void | setSelection(IWorkingSet workingSet) |
AbstractWorkingSetWizardPage | protected AbstractWorkingSetWizardPage(String pageName, String title, ImageDescriptor titleImage)(Code) | | |
configureTable | abstract protected void configureTable(TableViewer table)(Code) | | Configure the table viewer used on the right side of the dialog.
Implementors must set:
They may also set:
They must not set:
- The viewers content provider
- The viewers input
- Any viewer filter
Parameters: table - the table to configure |
configureTree | abstract protected void configureTree(TreeViewer tree)(Code) | | Configure the tree viewer used on the left side of the dialog.
Implementors must set:
- The content provider
- The label provider
- The viewers input
They may also set:
- The viewer comparator
- Any viewer filter
- The selection
Parameters: tree - the tree to configure |
createControl | public void createControl(Composite parent)(Code) | | |
finish | public void finish()(Code) | | |
getInitialWorkingSetElements | abstract protected Object[] getInitialWorkingSetElements(IWorkingSet workingSet)(Code) | | Returns the elements which are shown in the table initially. Return an empty
array if the table should be empty. The given working set is the working set
which will be configured by this dialog, or null if it does not yet
exist.
Parameters: workingSet - the working set to configure or null if not yet exist the elements to show in the table |
getSelection | public IWorkingSet getSelection()(Code) | | |
setSelection | public void setSelection(IWorkingSet workingSet)(Code) | | |
|
|