public abstract class CheckedSelectionDialog extends TitleAreaDialog
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
protected org.eclipse.swt.widgets.Button | deselectPB_
Deselect All Button
|
protected java.lang.Object[] | selectedItems_
The checked items from the list.
|
protected org.eclipse.swt.widgets.Button | selectPB_
Select All button.
|
protected org.eclipse.jface.viewers.CheckboxTableViewer | viewer_
The checkbox table viewer.
|
Constructor and Description |
---|
CheckedSelectionDialog() |
Modifier and Type | Method and Description |
---|---|
protected void | cancelPressed()
This method notifies that the Cancel button of this dialog has been pressed.
|
protected void | configureShell(org.eclipse.swt.widgets.Shell shell)
This method sets the title for the dialog, and establishes the help context.
|
protected void | createActionButtonBar(org.eclipse.swt.widgets.Composite parent)
This method creates action button bar.
|
protected void | createActionButtons(org.eclipse.swt.widgets.Composite parent)
This method creates the Select All and Deselect All button bar.
|
protected void | createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
This methods override to create the OK and Cancel buttons.
|
protected org.eclipse.swt.widgets.Control | createContents(org.eclipse.swt.widgets.Composite parent)
This method that creates the content control and returns it.
|
protected org.eclipse.swt.widgets.Control | createDialogArea(org.eclipse.swt.widgets.Composite parent)
This method creates and returns the contents of the upper part of this dialog (above the button bar).
|
protected org.eclipse.jface.viewers.CheckboxTableViewer | createViewer(org.eclipse.swt.widgets.Composite parent)
This method creates the viewer that will display the available stores.
|
protected abstract java.lang.String | getAreaTitle()
Returns the title to display in the dialog's title area.
|
protected java.lang.Object[] | getCheckedItems()
This method retrieves the list of selection items to be checked.
|
protected org.eclipse.jface.viewers.IStructuredContentProvider | getContentProvider()
This method returns a default content provider that assumes an unchanging array or collection.
|
protected abstract java.lang.String | getHelpContextId()
Retrieve the dialog's help context ID.
|
protected java.lang.Object[] | getItems()
This method retrieves the list of selection items.
|
protected org.eclipse.jface.viewers.ILabelProvider | getLabelProvider()
This method returns a default label provider that uses the toString() method and null for image.
|
protected abstract java.lang.String | getMessage()
Returns the dialog's message.
|
java.lang.Object | getResult()
This method returns the selected store.
|
protected abstract java.lang.String | getShellTitle()
Returns the title to display in the dialog window title bar.
|
protected abstract org.eclipse.swt.graphics.Image | getTitleImage()
Returns the title image to display in the dialog's title area.
|
protected void | hookViewerListeners()
This method adds additional listeners to this dialog.
|
protected void | okPressed()
This method notifies that the OK button of this dialog has been pressed.
|
public static final java.lang.String COPYRIGHT
protected java.lang.Object[] selectedItems_
protected org.eclipse.jface.viewers.CheckboxTableViewer viewer_
protected org.eclipse.swt.widgets.Button selectPB_
protected org.eclipse.swt.widgets.Button deselectPB_
protected abstract java.lang.String getShellTitle()
protected abstract org.eclipse.swt.graphics.Image getTitleImage()
protected abstract java.lang.String getAreaTitle()
protected abstract java.lang.String getMessage()
protected abstract java.lang.String getHelpContextId()
protected org.eclipse.jface.viewers.IStructuredContentProvider getContentProvider()
protected org.eclipse.jface.viewers.ILabelProvider getLabelProvider()
protected void configureShell(org.eclipse.swt.widgets.Shell shell)
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
protected void createActionButtonBar(org.eclipse.swt.widgets.Composite parent)
protected void createActionButtons(org.eclipse.swt.widgets.Composite parent)
protected java.lang.Object[] getItems()
protected java.lang.Object[] getCheckedItems()
protected org.eclipse.jface.viewers.CheckboxTableViewer createViewer(org.eclipse.swt.widgets.Composite parent)
protected void hookViewerListeners()
protected void okPressed()
protected void cancelPressed()
public java.lang.Object getResult()
protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)