public abstract class AbstractTransformConfigFormPage
extends org.eclipse.ui.forms.editor.FormPage
FormPage
to the transformation configuration editor. It
provides the API needed to get and set transformation property values
between the UI of the FormPage
and the transformation context
of the transformation configuration being edited. Clients should return an
instance of their class from the createFormPage method in their
transformation configuration tab class (derived from
AbstractTransformConfigTab
.Constructor and Description |
---|
AbstractTransformConfigFormPage(AbstractTransformConfigTab tab)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected AbstractTransformConfigTab |
getTab()
Returns the transformation configuration tab associated with this form
page.
|
abstract void |
populateContext(ITransformContext context)
Populate the transformation context based on the current state of the
tab's controls.
|
abstract void |
populateTab(ITransformContext context)
Populate the controls on the page based on the given transformation
context.
|
protected void |
setDirty()
Indicate that the contents of the page is dirty and requires an apply.
|
canLeaveThePage, createFormContent, createPartControl, dispose, doSave, doSaveAs, getEditor, getId, getIndex, getManagedForm, getPartControl, getTitleImage, init, initialize, isActive, isDirty, isEditor, isSaveAsAllowed, selectReveal, setActive, setFocus, setIndex
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartName
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public AbstractTransformConfigFormPage(AbstractTransformConfigTab tab)
tab
- The transformation configuration tab. This will specify the
id and title of the form page. It must not be null.public abstract void populateTab(ITransformContext context)
context
- The transformation context to retrieve information from.public abstract void populateContext(ITransformContext context)
context
- The transformation context to populate.protected AbstractTransformConfigTab getTab()
protected final void setDirty()