public class OpenStoreDialog extends TitleAreaDialog
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
Constructor and Description |
---|
OpenStoreDialog()
Default constructor for OpenStoreDialog.
|
Modifier and Type | Method and Description |
---|---|
protected void | cancelPressed()
Notifies that the cancel button of this dialog has been pressed.
|
protected void | configureShell(org.eclipse.swt.widgets.Shell shell)
Sets the title for the dialog, and establishes the help context.
|
void | createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
Creates the OK and Cancel buttons for this dialog.
|
protected org.eclipse.jface.viewers.IContentProvider | createContentProvider()
Creates the content provider of this part.
|
protected org.eclipse.swt.widgets.Control | createContents(org.eclipse.swt.widgets.Composite parent)
Method that creates the Content control and return it.
|
protected org.eclipse.swt.widgets.Control | createDialogArea(org.eclipse.swt.widgets.Composite parent)
Creates and returns the contents of the upper part of this dialog (above the button bar).
|
protected org.eclipse.jface.viewers.ILabelProvider | createLabelProvider()
Creates the label provider of this part.
|
protected org.eclipse.swt.widgets.Control | createSeparator(org.eclipse.swt.widgets.Composite parent)
Adds a separator to the composite.
|
protected org.eclipse.jface.viewers.ViewerSorter | createStoreSorter()
Returns the structured viewer sorter.
|
protected org.eclipse.jface.viewers.StructuredViewer | createViewer(org.eclipse.swt.widgets.Composite parent)
Creates the viewer that will display the available stores.
|
protected java.lang.Object[] | getAvailableStores()
Returns the available stores to display to the user.
|
protected java.lang.Object[] | getFilteredAvailableStores()
Removes any open stores from the available stores display list.
|
protected java.lang.String | getHelpContextId()
Retrieve the view's help context ID.
|
protected java.lang.Object[] | getOpenStores()
Returns the open stores used to filter the available stores.
|
java.lang.Object | getResult()
Returns the selected store.
|
java.lang.Object[] | getSelectedStores()
Returns the selected store.
|
protected void | hookViewerListeners()
Adds additional listeners to this dialog.
|
protected void | okPressed()
Notifies that the OK button of this dialog has been pressed.
|
protected void | setAvailableStores(java.lang.Object[] availableStores)
Sets the available stores to display to the user.
|
protected void | setOpenStores(java.lang.Object[] openStores)
Sets the open stores used to filter the available stores displayed to the user for selection.
|
protected void | setSelectedStore(java.lang.Object[] selectedStores)
Sets the selected stores.
|
public static final java.lang.String COPYRIGHT
public OpenStoreDialog()
protected void configureShell(org.eclipse.swt.widgets.Shell shell)
protected java.lang.String getHelpContextId()
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 org.eclipse.jface.viewers.StructuredViewer createViewer(org.eclipse.swt.widgets.Composite parent)
protected org.eclipse.swt.widgets.Control createSeparator(org.eclipse.swt.widgets.Composite parent)
This method adds a horizontal separator to the composite dividing the two sections.
Subclasses may override.
protected org.eclipse.jface.viewers.ViewerSorter createStoreSorter()
protected org.eclipse.jface.viewers.IContentProvider createContentProvider()
protected org.eclipse.jface.viewers.ILabelProvider createLabelProvider()
protected void hookViewerListeners()
public void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
protected void okPressed()
protected void cancelPressed()
protected java.lang.Object[] getFilteredAvailableStores()
protected java.lang.Object[] getAvailableStores()
protected java.lang.Object[] getOpenStores()
public java.lang.Object[] getSelectedStores()
public java.lang.Object getResult()
protected void setAvailableStores(java.lang.Object[] availableStores)
protected void setOpenStores(java.lang.Object[] openStores)
protected void setSelectedStore(java.lang.Object[] selectedStores)