|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
eu.esdihumboldt.hale.ui.HaleWizardPage<AbstractGenericFunctionWizard<?,?>>
eu.esdihumboldt.hale.ui.functions.core.SourceListParameterPage<org.eclipse.jface.text.source.SourceViewer>
eu.esdihumboldt.hale.ui.functions.core.SourceViewerParameterPage
eu.esdihumboldt.hale.ui.functions.groovy.GroovyParameterPage
public class GroovyParameterPage
Parameter page for Groovy function.
Field Summary |
---|
Fields inherited from interface eu.esdihumboldt.cst.functions.groovy.GroovyConstants |
---|
ENTITY_VARIABLE, PARAMETER_SCRIPT |
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
GroovyParameterPage()
Default constructor. |
Method Summary | |
---|---|
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 String |
getVariableName(EntityDefinition variable)
This gets called for all variables. Subclasses can change how they are displayed here. The default format is like "part1.part2.name". |
protected void |
onShowPage(boolean firstShow)
Called when this page is shown |
protected void |
sourcePropertiesChanged(EntityDefinition[] variables)
This gets called, when the user chose other source properties. |
protected boolean |
validate(org.eclipse.jface.text.IDocument document)
Validate the given document. |
Methods inherited from class eu.esdihumboldt.hale.ui.functions.core.SourceViewerParameterPage |
---|
configure, createAndLayoutTextField, createAndSetDocument, createConfiguration, createRuler, getDocument, getText, insertTextAtCurrentPos, setText, updateState |
Methods inherited from class eu.esdihumboldt.hale.ui.functions.core.SourceListParameterPage |
---|
createContent, getConfiguration, getTextField, 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 |
---|
public GroovyParameterPage()
Method Detail |
---|
protected void onShowPage(boolean firstShow)
HaleWizardPage
onShowPage
in class SourceListParameterPage<org.eclipse.jface.text.source.SourceViewer>
firstShow
- specifies if it is the first time the page is shown
since its creationSourceListParameterPage.onShowPage(boolean)
protected String getParameterName()
SourceListParameterPage
getParameterName
in class SourceListParameterPage<org.eclipse.jface.text.source.SourceViewer>
SourceListParameterPage.getParameterName()
protected String getSourcePropertyName()
SourceListParameterPage
getSourcePropertyName
in class SourceListParameterPage<org.eclipse.jface.text.source.SourceViewer>
SourceListParameterPage.getSourcePropertyName()
protected boolean validate(org.eclipse.jface.text.IDocument document)
SourceViewerParameterPage
true
.
validate
in class SourceViewerParameterPage
document
- the document to validate
SourceViewerParameterPage.validate(IDocument)
protected void sourcePropertiesChanged(EntityDefinition[] variables)
SourceListParameterPage
sourcePropertiesChanged
in class SourceListParameterPage<org.eclipse.jface.text.source.SourceViewer>
variables
- the new source propertiesSourceListParameterPage.sourcePropertiesChanged(EntityDefinition[])
protected String getVariableName(EntityDefinition variable)
SourceListParameterPage
getVariableName
in class SourceListParameterPage<org.eclipse.jface.text.source.SourceViewer>
variable
- the variable
SourceListParameterPage.getVariableName(EntityDefinition)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |