Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.functions.numeric
Class MathExpressionParameterPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by eu.esdihumboldt.hale.ui.HaleWizardPage<AbstractGenericFunctionWizard<?,?>>
              extended by eu.esdihumboldt.hale.ui.functions.core.SourceListParameterPage<org.eclipse.swt.widgets.Text>
                  extended by eu.esdihumboldt.hale.ui.functions.core.TextSourceListParameterPage
                      extended by eu.esdihumboldt.hale.ui.functions.numeric.MathExpressionParameterPage
All Implemented Interfaces:
MathematicalExpressionFunction, ParameterPage, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
Direct Known Subclasses:
NetworkExpansionParameterPage

public class MathExpressionParameterPage
extends TextSourceListParameterPage
implements MathematicalExpressionFunction

Parameter page for mathematical expression function.

Author:
Kai Schwierczek

Field Summary
 
Fields inherited from interface eu.esdihumboldt.cst.functions.numeric.MathematicalExpressionFunction
ENTITY_VARIABLE, ID, PARAMETER_EXPRESSION
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
MathExpressionParameterPage()
          Default constructor.
 
Method Summary
protected  void configure(org.eclipse.swt.widgets.Text textField)
          Subclasses can configure the text field to for example add some validation mechanism.
protected  String getParameterName()
          Should return the parameter which should be configured using all source properties.
protected  String getSourcePropertyName()
          Should return the name of the source property which should be used.
protected  void sourcePropertiesChanged(EntityDefinition[] variables)
          This gets called, when the user chose other source properties.
 
Methods inherited from class eu.esdihumboldt.hale.ui.functions.core.TextSourceListParameterPage
createAndLayoutTextField, getText, insertTextAtCurrentPos, setText, useMultilineInput
 
Methods inherited from class eu.esdihumboldt.hale.ui.functions.core.SourceListParameterPage
createContent, getConfiguration, getTextField, getVariableName, onShowPage, setParameter
 
Methods inherited from class eu.esdihumboldt.hale.ui.HaleWizardPage
createControl, dispose, getWizard
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, 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 eu.esdihumboldt.hale.ui.function.generic.pages.ParameterPage
getConfiguration, setParameter
 
Methods inherited from interface org.eclipse.jface.wizard.IWizardPage
canFlipToNextPage, getName, getNextPage, getPreviousPage, getWizard, isPageComplete, setPreviousPage, setWizard
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
 

Constructor Detail

MathExpressionParameterPage

public MathExpressionParameterPage()
Default constructor.

Method Detail

getParameterName

protected String getParameterName()
Description copied from class: SourceListParameterPage
Should return the parameter which should be configured using all source properties.

Specified by:
getParameterName in class SourceListParameterPage<org.eclipse.swt.widgets.Text>
Returns:
the parameter name
See Also:
SourceListParameterPage.getParameterName()

getSourcePropertyName

protected String getSourcePropertyName()
Description copied from class: SourceListParameterPage
Should return the name of the source property which should be used.

Specified by:
getSourcePropertyName in class SourceListParameterPage<org.eclipse.swt.widgets.Text>
Returns:
the source property name
See Also:
SourceListParameterPage.getSourcePropertyName()

configure

protected void configure(org.eclipse.swt.widgets.Text textField)
Description copied from class: SourceListParameterPage
Subclasses can configure the text field to for example add some validation mechanism.

Overrides:
configure in class SourceListParameterPage<org.eclipse.swt.widgets.Text>
Parameters:
textField - the text field to configure
See Also:
TextSourceListParameterPage#configure(Text)

sourcePropertiesChanged

protected void sourcePropertiesChanged(EntityDefinition[] variables)
Description copied from class: SourceListParameterPage
This gets called, when the user chose other source properties.

Overrides:
sourcePropertiesChanged in class SourceListParameterPage<org.eclipse.swt.widgets.Text>
Parameters:
variables - the new source properties
See Also:
SourceListParameterPage.sourcePropertiesChanged(EntityDefinition[])

Humboldt Alignment Editor 2.5.0

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