public class GroovyParameterPage extends SourceViewerParameterPage implements GroovyConstants
ENTITY_VARIABLE, PARAMETER_SCRIPT
Constructor and Description |
---|
GroovyParameterPage()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
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(Iterable<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.
|
configure, createAndLayoutTextField, createAndSetDocument, createConfiguration, createRuler, getDocument, getText, insertTextAtCurrentPos, setText, updateState
createContent, determineDefaultVariableNames, getConfiguration, getTextField, setParameter
createControl, dispose, getHelpContext, getWizard, performHelp
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setMessage, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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 validateSourceViewerParameterPage.validate(IDocument)
protected void sourcePropertiesChanged(Iterable<EntityDefinition> variables)
SourceListParameterPage
sourcePropertiesChanged
in class SourceListParameterPage<org.eclipse.jface.text.source.SourceViewer>
variables
- the new source propertiesSourceListParameterPage.sourcePropertiesChanged(Iterable)
protected String getVariableName(EntityDefinition variable)
SourceListParameterPage
getVariableName
in class SourceListParameterPage<org.eclipse.jface.text.source.SourceViewer>
variable
- the variableSourceListParameterPage.getVariableName(EntityDefinition)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a