Humboldt Alignment Editor 2.5.0

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

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.function.generic.pages.AbstractParameterPage
                  extended by eu.esdihumboldt.hale.ui.functions.numeric.SequentialIDParameterPage
All Implemented Interfaces:
SequentialIDConstants, ParameterPage, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class SequentialIDParameterPage
extends AbstractParameterPage
implements SequentialIDConstants

Parameter page for the sequential ID function.

Author:
Simon Templer

Nested Class Summary
 
Nested classes/interfaces inherited from interface eu.esdihumboldt.cst.functions.numeric.sequentialid.SequentialIDConstants
SequentialIDConstants.Sequence
 
Field Summary
 
Fields inherited from interface eu.esdihumboldt.cst.functions.numeric.sequentialid.SequentialIDConstants
ID, PARAM_PREFIX, PARAM_SEQUENCE, PARAM_SUFFIX, START_VALUE
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
SequentialIDParameterPage()
          Default constructor.
 
Method Summary
protected  void createContent(org.eclipse.swt.widgets.Composite page)
          Create the page content
protected  String generateExample()
          Generate an identifier example from the current configuration.
 com.google.common.collect.ListMultimap<String,String> getConfiguration()
          Returns the configuration of the parameters this page is responsible for.
protected  void onShowPage(boolean firstShow)
          Called when this page is shown
protected  void updateStatus()
          Update the example and the page status
protected  boolean validateValue(String value)
          Validates if the given value is valid for the target property.
 
Methods inherited from class eu.esdihumboldt.hale.ui.function.generic.pages.AbstractParameterPage
getInitialValues, getOptionalInitialValue, getParametersToHandle, 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 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

SequentialIDParameterPage

public SequentialIDParameterPage()
Default constructor.

Method Detail

getConfiguration

public com.google.common.collect.ListMultimap<String,String> getConfiguration()
Description copied from interface: ParameterPage
Returns the configuration of the parameters this page is responsible for.
It should only contain key value pairs, where key is the name of one of the parameters this page is responsible for.

Specified by:
getConfiguration in interface ParameterPage
Returns:
the configuration of the parameters
See Also:
ParameterPage.getConfiguration()

createContent

protected void createContent(org.eclipse.swt.widgets.Composite page)
Description copied from class: HaleWizardPage
Create the page content

Specified by:
createContent in class HaleWizardPage<AbstractGenericFunctionWizard<?,?>>
Parameters:
page - the page composite, implementors may assign a custom layout to this composite
See Also:
HaleWizardPage.createContent(Composite)

updateStatus

protected void updateStatus()
Update the example and the page status


onShowPage

protected void onShowPage(boolean firstShow)
Description copied from class: HaleWizardPage
Called when this page is shown

Overrides:
onShowPage in class HaleWizardPage<AbstractGenericFunctionWizard<?,?>>
Parameters:
firstShow - specifies if it is the first time the page is shown since its creation
See Also:
HaleWizardPage.onShowPage(boolean)

validateValue

protected boolean validateValue(String value)
Validates if the given value is valid for the target property.

Parameters:
value - the value to validate
Returns:
if the value is valid

generateExample

protected String generateExample()
Generate an identifier example from the current configuration.

Returns:
the identifier example

Humboldt Alignment Editor 2.5.0

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