public abstract class ViewerWizardSelectionPage
extends org.eclipse.jface.wizard.WizardSelectionPage
Modifier | Constructor and Description |
---|---|
protected |
ViewerWizardSelectionPage(String pageName) |
Modifier and Type | Method and Description |
---|---|
protected String |
acceptWizard(org.eclipse.jface.wizard.IWizardNode wizardNode)
Accepts or doesn't accept a wizard node as a valid selection.
|
void |
createControl(org.eclipse.swt.widgets.Composite parent) |
protected abstract Pair<org.eclipse.jface.viewers.StructuredViewer,org.eclipse.swt.widgets.Control> |
createViewer(org.eclipse.swt.widgets.Composite parent)
Create the structured viewer and set it up with label and content
providers as well as the input.
|
protected void |
doubleClicked(org.eclipse.jface.viewers.DoubleClickEvent event)
Called when a double click in the viewer occurs.
|
protected void |
setSelectedNode(org.eclipse.jface.wizard.IWizardNode node) |
protected void |
updateMessage()
Update the selected node based on the viewer selection.
|
protected void |
viewerSelectionChanged(org.eclipse.jface.viewers.ISelection selection)
Called when the viewer selection has changed.
|
canFlipToNextPage, dispose, getNextPage, getSelectedNode
getContainer, getDialogSettings, getImage, getName, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
protected ViewerWizardSelectionPage(String pageName)
WizardSelectionPage.WizardSelectionPage(String)
public void createControl(org.eclipse.swt.widgets.Composite parent)
IDialogPage.createControl(Composite)
protected void viewerSelectionChanged(org.eclipse.jface.viewers.ISelection selection)
selection
- the current selectionprotected void setSelectedNode(org.eclipse.jface.wizard.IWizardNode node)
setSelectedNode
in class org.eclipse.jface.wizard.WizardSelectionPage
WizardSelectionPage.setSelectedNode(IWizardNode)
protected String acceptWizard(org.eclipse.jface.wizard.IWizardNode wizardNode)
wizardNode
- the wizard nodenull
if the node is accepted or a reason why it is
not accepted.protected void updateMessage()
protected void doubleClicked(org.eclipse.jface.viewers.DoubleClickEvent event)
event
- the double click eventprotected abstract Pair<org.eclipse.jface.viewers.StructuredViewer,org.eclipse.swt.widgets.Control> createViewer(org.eclipse.swt.widgets.Composite parent)
IStructuredSelection
s with IWizardNode
s.parent
- the parent compositeBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a