Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.io.action.wizard
Class ActionUIWizardPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.eclipse.jface.wizard.WizardSelectionPage
              extended by eu.esdihumboldt.hale.ui.util.wizard.ViewerWizardSelectionPage
                  extended by eu.esdihumboldt.hale.ui.io.action.wizard.ActionUIWizardPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class ActionUIWizardPage
extends ViewerWizardSelectionPage

Wizard selection page based on ActionUIs

Author:
Simon Templer

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
ActionUIWizardPage(de.cs3d.util.eclipse.extension.FactoryFilter<IOWizard<?>,ActionUI> filter, String title)
          Create a page that allows selection of an ActionUI wizard
 
Method Summary
protected  String acceptWizard(org.eclipse.jface.wizard.IWizardNode wizardNode)
          Accepts or doesn't accept a wizard node as a valid selection.
protected  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.
 
Methods inherited from class eu.esdihumboldt.hale.ui.util.wizard.ViewerWizardSelectionPage
createControl, doubleClicked, setSelectedNode, updateMessage, viewerSelectionChanged
 
Methods inherited from class org.eclipse.jface.wizard.WizardSelectionPage
canFlipToNextPage, dispose, getNextPage, getSelectedNode
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
getContainer, getDialogSettings, getImage, getName, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

ActionUIWizardPage

public ActionUIWizardPage(de.cs3d.util.eclipse.extension.FactoryFilter<IOWizard<?>,ActionUI> filter,
                          String title)
Create a page that allows selection of an ActionUI wizard

Parameters:
filter - the filter to apply to the action UI extension
title - the page title
Method Detail

createViewer

protected Pair<org.eclipse.jface.viewers.StructuredViewer,org.eclipse.swt.widgets.Control> createViewer(org.eclipse.swt.widgets.Composite parent)
Description copied from class: ViewerWizardSelectionPage
Create the structured viewer and set it up with label and content providers as well as the input. The viewer must provide IStructuredSelections with IWizardNodes.

Specified by:
createViewer in class ViewerWizardSelectionPage
Parameters:
parent - the parent composite
Returns:
the viewer paired with the main control that should fill the parent composite
See Also:
ViewerWizardSelectionPage.createViewer(Composite)

acceptWizard

protected String acceptWizard(org.eclipse.jface.wizard.IWizardNode wizardNode)
Description copied from class: ViewerWizardSelectionPage
Accepts or doesn't accept a wizard node as a valid selection.

Overrides:
acceptWizard in class ViewerWizardSelectionPage
Parameters:
wizardNode - the wizard node
Returns:
null if the node is accepted or a reason why it is not accepted.
See Also:
ViewerWizardSelectionPage.acceptWizard(IWizardNode)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d