|
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
public abstract class SourceViewerParameterPage
Parameter page using a source viewer.
Field Summary |
---|
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
SourceViewerParameterPage(String pageName)
|
|
SourceViewerParameterPage(String pageName,
String title,
org.eclipse.jface.resource.ImageDescriptor titleImage)
|
Method Summary | |
---|---|
protected void |
configure(org.eclipse.jface.text.source.SourceViewer viewer)
Configure the source viewer. |
protected org.eclipse.jface.text.source.SourceViewer |
createAndLayoutTextField(org.eclipse.swt.widgets.Composite parent)
Create and text field and layout it. |
protected void |
createAndSetDocument(org.eclipse.jface.text.source.SourceViewer viewer)
Create the initial document and set it for the viewer. |
protected org.eclipse.jface.text.source.SourceViewerConfiguration |
createConfiguration()
Create the source viewer configuration. |
protected org.eclipse.jface.text.source.IVerticalRuler |
createRuler()
Create the vertical ruler for the source viewer. |
protected org.eclipse.jface.text.IDocument |
getDocument()
Get the source viewer document. |
protected String |
getText(org.eclipse.jface.text.source.SourceViewer viewer)
Get the current text of the text field. |
protected void |
insertTextAtCurrentPos(org.eclipse.jface.text.source.SourceViewer viewer,
String insert)
Insert a given text at the current position of the given text field. |
protected void |
setText(org.eclipse.jface.text.source.SourceViewer viewer,
String value)
Set the text of the text field to the given value. |
protected void |
updateState(org.eclipse.jface.text.IDocument document)
Update the page state. |
protected boolean |
validate(org.eclipse.jface.text.IDocument document)
Validate the given document. |
Methods inherited from class eu.esdihumboldt.hale.ui.functions.core.SourceListParameterPage |
---|
createContent, getConfiguration, getParameterName, getSourcePropertyName, getTextField, getVariableName, onShowPage, setParameter, sourcePropertiesChanged |
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 SourceViewerParameterPage(String pageName, String title, org.eclipse.jface.resource.ImageDescriptor titleImage)
SourceListParameterPage.SourceListParameterPage(String, String,
ImageDescriptor)
public SourceViewerParameterPage(String pageName)
SourceListParameterPage.SourceListParameterPage(String)
Method Detail |
---|
protected void setText(org.eclipse.jface.text.source.SourceViewer viewer, String value)
SourceListParameterPage
setText
in class SourceListParameterPage<org.eclipse.jface.text.source.SourceViewer>
viewer
- the text fieldvalue
- the value to set as textSourceListParameterPage.setText(Object, String)
protected String getText(org.eclipse.jface.text.source.SourceViewer viewer)
SourceListParameterPage
getText
in class SourceListParameterPage<org.eclipse.jface.text.source.SourceViewer>
viewer
- the text field
SourceListParameterPage.getText(Object)
protected void insertTextAtCurrentPos(org.eclipse.jface.text.source.SourceViewer viewer, String insert)
SourceListParameterPage
insertTextAtCurrentPos
in class SourceListParameterPage<org.eclipse.jface.text.source.SourceViewer>
viewer
- the text fieldinsert
- the text to insertSourceListParameterPage.insertTextAtCurrentPos(Object, String)
protected org.eclipse.jface.text.source.SourceViewer createAndLayoutTextField(org.eclipse.swt.widgets.Composite parent)
SourceListParameterPage
createAndLayoutTextField
in class SourceListParameterPage<org.eclipse.jface.text.source.SourceViewer>
parent
- the parent composite, it has a one-column grid layout
SourceListParameterPage.createAndLayoutTextField(Composite)
protected org.eclipse.jface.text.source.IVerticalRuler createRuler()
protected void configure(org.eclipse.jface.text.source.SourceViewer viewer)
configure
in class SourceListParameterPage<org.eclipse.jface.text.source.SourceViewer>
viewer
- the text field to configureprotected org.eclipse.jface.text.IDocument getDocument()
protected void updateState(org.eclipse.jface.text.IDocument document)
document
- the current documentprotected boolean validate(org.eclipse.jface.text.IDocument document)
true
.
document
- the document to validate
protected void createAndSetDocument(org.eclipse.jface.text.source.SourceViewer viewer)
viewer
- the source viewerprotected org.eclipse.jface.text.source.SourceViewerConfiguration createConfiguration()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |