Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.function.internal
Class NewRelationPage

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.function.internal.NewRelationPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class NewRelationPage
extends ViewerWizardSelectionPage

Page for creating a new relation

Author:
Simon Templer

Field Summary
protected static String CONF_LAST_SELECTED_FUNCTION
          Configuration parameter name for the last selected function
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
protected NewRelationPage(String title)
           
 
Method Summary
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.
 FunctionWizard getFunctionWizard()
          Get the current function wizard
 void restore(de.fhg.igd.osgi.util.configuration.IConfigurationService configurationService)
          Load the configuration from a configuration service
 void store(de.fhg.igd.osgi.util.configuration.IConfigurationService configurationService)
          Store the configuration to a configuration service
 
Methods inherited from class eu.esdihumboldt.hale.ui.util.wizard.ViewerWizardSelectionPage
acceptWizard, 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
 

Field Detail

CONF_LAST_SELECTED_FUNCTION

protected static final String CONF_LAST_SELECTED_FUNCTION
Configuration parameter name for the last selected function

See Also:
Constant Field Values
Constructor Detail

NewRelationPage

protected NewRelationPage(String title)
Parameters:
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)

getFunctionWizard

public FunctionWizard getFunctionWizard()
Get the current function wizard

Returns:
the function wizard or null

store

public void store(de.fhg.igd.osgi.util.configuration.IConfigurationService configurationService)
Store the configuration to a configuration service

Parameters:
configurationService - the configuration service

restore

public void restore(de.fhg.igd.osgi.util.configuration.IConfigurationService configurationService)
Load the configuration from a configuration service

Parameters:
configurationService - the configuration service

Humboldt Alignment Editor 2.5.0

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