public class ICESectionPage extends ICEFormPage implements IComponentVisitor
This class is a FormPage that creates a page with multiple sections for a set of ICE DataComponents.
Constructor and Description |
---|
ICESectionPage(org.eclipse.ui.forms.editor.FormEditor editor,
java.lang.String id,
java.lang.String title)
The Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addComponent(Component component)
This operation adds a Component to the set of Components that are managed
by this page.
|
java.util.ArrayList<Component> |
getComponents()
This operation retrieves the Components that are managed by this page.
|
void |
visit(AdaptiveTreeComposite component)
This operation informs the visitor that it is actually working with an
AdaptiveTreeComposite and should operate accordingly.
|
void |
visit(DataComponent component)
(non-Javadoc)
|
void |
visit(EMFComponent component)
This operation informs the visitor that it is actually working with an
EMFComponent and should operate accordingly.
|
void |
visit(GeometryComponent component)
(non-Javadoc)
|
void |
visit(IReactorComponent component)
(non-Javadoc)
|
void |
visit(IShape component)
(non-Javadoc)
|
void |
visit(ListComponent component)
This operation informs the visitor that it is actually working with a
ListComponent.
|
void |
visit(MasterDetailsComponent component)
(non-Javadoc)
|
void |
visit(MatrixComponent component)
(non-Javadoc)
|
void |
visit(MeshComponent component)
This operation informs the visitor that it is actually working with a
MeshComponent and should operate accordingly.
|
void |
visit(ResourceComponent component)
(non-Javadoc)
|
void |
visit(TableComponent component)
(non-Javadoc)
|
void |
visit(TimeDataComponent component)
This operation informs the visitor that it is actually working with a
TimeDataComponent and should operate accordingly.
|
void |
visit(TreeComposite component)
(non-Javadoc)
|
canLeaveThePage, createPartControl, dispose, doSave, doSaveAs, getEditor, getId, getIndex, getManagedForm, getPartControl, getTitleImage, init, initialize, isActive, isDirty, isEditor, isSaveAsAllowed, selectReveal, setActive, setFocus, setIndex
getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setInitializationData
addPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ICESectionPage(org.eclipse.ui.forms.editor.FormEditor editor, java.lang.String id, java.lang.String title)
The Constructor
editor
- The FormEditor for which the Page should be constructed.
id
- The id of the page.
title
- The title of the page.
public java.util.ArrayList<Component> getComponents()
This operation retrieves the Components that are managed by this page. This operation should not be generally used, but for testing purposes where there is a setter there must be a getter.
The set of Components managed by this page.
public void addComponent(Component component)
This operation adds a Component to the set of Components that are managed by this page.
component
- A new Component for this page to manage
public void visit(DataComponent component)
visit
in interface IComponentVisitor
component
- DataComponent which was originally called by the accept()
operationIComponentVisitor.visit(DataComponent component)
public void visit(ResourceComponent component)
visit
in interface IComponentVisitor
component
- OutputComponent which was originally called by the accept()
operationIComponentVisitor.visit(ResourceComponent component)
public void visit(TableComponent component)
visit
in interface IComponentVisitor
component
- TableComponent which was originally called by the accept()
operationIComponentVisitor.visit(TableComponent component)
public void visit(MatrixComponent component)
visit
in interface IComponentVisitor
component
- MatrixComponent which was originally called by the accept()
operationIComponentVisitor.visit(MatrixComponent component)
public void visit(IShape component)
visit
in interface IComponentVisitor
component
- IShape which was originally called by the accept() operationIComponentVisitor.visit(IShape component)
public void visit(GeometryComponent component)
visit
in interface IComponentVisitor
component
- GeometryComponent which was originally called by the accept()
operationIComponentVisitor.visit(GeometryComponent component)
public void visit(MasterDetailsComponent component)
visit
in interface IComponentVisitor
component
- MasterDetailsComponent which was originally called by the
accept() operation.IComponentVisitor.visit(MasterDetailsComponent component)
public void visit(TreeComposite component)
visit
in interface IComponentVisitor
component
- The TreeCompositeIComponentVisitor.visit(TreeComposite component)
public void visit(IReactorComponent component)
visit
in interface IComponentVisitor
component
- The IReactorComponentIComponentVisitor.visit(IReactorComponent component)
public void visit(TimeDataComponent component)
IComponentVisitor
visit
in interface IComponentVisitor
component
- The TimeDataComponent.public void visit(MeshComponent component)
IComponentVisitor
visit
in interface IComponentVisitor
component
- The MeshComponent.public void visit(AdaptiveTreeComposite component)
IComponentVisitor
visit
in interface IComponentVisitor
component
- The AdaptiveTreeCompositepublic void visit(EMFComponent component)
IComponentVisitor
visit
in interface IComponentVisitor
component
- The EMFComponent.public void visit(ListComponent component)
IComponentVisitor
visit
in interface IComponentVisitor
component
- The ListComponent