|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.ui.forms.editor.FormPage
org.mockcentral.editor.components.EditorFormPage
public class EditorFormPage
A FormPage containing a ScrolledPageBook to show
the MockCentralPluginNodeView instances associated with the
various MockCentralNode classes. There is one book page per node
type (lazily created) which is updated with fresh node instance data and
displayed in the book when the loadNodeEditorPage method is
invoked.
| Field Summary | |
|---|---|
protected org.eclipse.ui.forms.widgets.ScrolledForm |
form
|
protected org.eclipse.ui.forms.widgets.FormToolkit |
toolkit
|
| Fields inherited from interface org.eclipse.ui.IEditorPart |
|---|
PROP_DIRTY, PROP_INPUT |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Constructor Summary | |
|---|---|
EditorFormPage(org.eclipse.ui.forms.editor.FormEditor editor)
Creates a new instance. |
|
| Method Summary | |
|---|---|
protected void |
createFormContent(org.eclipse.ui.forms.IManagedForm managedForm)
|
void |
dispose()
|
MockCentralPluginNodeView |
getNodeEditorPage(org.mockcentral.editor.nodes.MockCentralNodeType nodeType)
Returns the MockCentralPluginNodeView associated with the
supplied MockCentralNodeType. |
void |
loadNodeEditorPage(org.mockcentral.editor.nodes.MockCentralNode node)
Directs the ScrolledPageBook to show the
MockCentralPluginNodeView for the supplied
MockCentralNode. |
| Methods inherited from class org.eclipse.ui.forms.editor.FormPage |
|---|
canLeaveThePage, createPartControl, doSave, doSaveAs, getEditor, getId, getIndex, getManagedForm, getPartControl, getTitleImage, init, initialize, isActive, isDirty, isEditor, isSaveAsAllowed, selectReveal, setActive, setFocus, setIndex |
| Methods inherited from class org.eclipse.ui.part.EditorPart |
|---|
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
|---|
addPropertyListener, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getSite, getTitle, removePropertyListener, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.IEditorPart |
|---|
getEditorInput, getEditorSite |
| Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
addPropertyListener, getSite, getTitle, getTitleToolTip, removePropertyListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.ui.ISaveablePart |
|---|
isSaveOnCloseNeeded |
| Field Detail |
|---|
protected org.eclipse.ui.forms.widgets.FormToolkit toolkit
protected org.eclipse.ui.forms.widgets.ScrolledForm form
| Constructor Detail |
|---|
public EditorFormPage(org.eclipse.ui.forms.editor.FormEditor editor)
editor - the parent MockCentralPluginEditor.| Method Detail |
|---|
public MockCentralPluginNodeView getNodeEditorPage(org.mockcentral.editor.nodes.MockCentralNodeType nodeType)
MockCentralPluginNodeView associated with the
supplied MockCentralNodeType.
nodeType - MockCentralNodeType.
MockCentralPluginNodeView associated with the
supplied MockCentralNodeType.public void loadNodeEditorPage(org.mockcentral.editor.nodes.MockCentralNode node)
ScrolledPageBook to show the
MockCentralPluginNodeView for the supplied
MockCentralNode.
node - the MockCentralNode.public void dispose()
dispose in interface org.eclipse.ui.IWorkbenchPartdispose in class org.eclipse.ui.forms.editor.FormPageprotected void createFormContent(org.eclipse.ui.forms.IManagedForm managedForm)
createFormContent in class org.eclipse.ui.forms.editor.FormPage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||