public class ReactorPage extends ICEFormPage implements IComponentVisitor, IUpdateableListener
component
Constructor and Description |
---|
ReactorPage(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.
|
void |
setAnalysisWidgetRegistry(IAnalysisWidgetRegistry registry)
Sets the IAnalysisWidgetRegistry used to generate
IAnalysisView s
for the analysisComposite . |
void |
setReactorComposite(ReactorComposite reactorComposite)
Sets the ReactorComposite that contains the input and reference reactor
components for this reactor page.
|
void |
setSelectionProvider(org.eclipse.jface.viewers.ISelectionProvider provider)
Sets the ISelectionProvider that manages the current selection in the
ReactorEditor.
|
void |
setStateBroker(StateBroker broker)
This operation sets the state broker that will be shared by the parts of
the ReactorEditor to maintain view state.
|
void |
update(IUpdateable component)
|
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)
This operation directs a visitor to perform its actions on the Component
as a DataComponent.
|
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)
This operation directs a visitor to perform its actions on the Component
as a GeometryComponent.
|
void |
visit(IReactorComponent component)
This operation informs the visitor that it is actually working with an
IReactorComponent and should operate accordingly.
|
void |
visit(IShape component)
This operation directs a visitor to perform its actions on the Component
as an IShape.
|
void |
visit(ListComponent component)
This operation informs the visitor that it is actually working with a
ListComponent.
|
void |
visit(MasterDetailsComponent component)
This operation directs a visitor to perform its actions on the Component
as a MasterDetailsComponent.
|
void |
visit(MatrixComponent component)
This operation directs a visitor to perform its actions on the Component
as a MatrixComponent.
|
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)
This operation directs a visitor to perform its actions on the Component
as an OutputComponent.
|
void |
visit(TableComponent component)
This operation directs a visitor to perform its actions on the Component
as a VisitorComponent.
|
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)
This operation informs the visitor that it is actually working with a
TreeComposite and should operate accordingly.
|
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 ReactorPage(org.eclipse.ui.forms.editor.FormEditor editor, java.lang.String id, java.lang.String title)
editor
- The FormEditor that is constructing this pageid
- The unique identifier of this page.title
- The title that this page should display in the editor.public void setAnalysisWidgetRegistry(IAnalysisWidgetRegistry registry)
IAnalysisView
s
for the analysisComposite
.registry
- The IAnalysisWidgetRegistry to use.public void setSelectionProvider(org.eclipse.jface.viewers.ISelectionProvider provider)
provider
- The new ISelectionProvider.public void setStateBroker(StateBroker broker)
broker
- The state brokerpublic void setReactorComposite(ReactorComposite reactorComposite)
reactorComposite
- The new ReactorComposite.public void addComponent(Component component)
component
- A new Component for this page to managepublic void update(IUpdateable component)
update
in interface IUpdateableListener
component
- The component that was updated in some way.public void visit(DataComponent component)
IComponentVisitor
visit
in interface IComponentVisitor
component
- DataComponent which was originally called by the accept()
operationpublic void visit(ResourceComponent component)
IComponentVisitor
visit
in interface IComponentVisitor
component
- OutputComponent which was originally called by the accept()
operationpublic void visit(TableComponent component)
IComponentVisitor
visit
in interface IComponentVisitor
component
- TableComponent which was originally called by the accept()
operationpublic void visit(MatrixComponent component)
IComponentVisitor
visit
in interface IComponentVisitor
component
- MatrixComponent which was originally called by the accept()
operationpublic void visit(IShape component)
IComponentVisitor
visit
in interface IComponentVisitor
component
- IShape which was originally called by the accept() operationpublic void visit(GeometryComponent component)
IComponentVisitor
visit
in interface IComponentVisitor
component
- GeometryComponent which was originally called by the accept()
operationpublic void visit(MasterDetailsComponent component)
IComponentVisitor
visit
in interface IComponentVisitor
component
- MasterDetailsComponent which was originally called by the
accept() operation.public void visit(TreeComposite component)
IComponentVisitor
visit
in interface IComponentVisitor
component
- The TreeCompositepublic void visit(IReactorComponent component)
IComponentVisitor
visit
in interface IComponentVisitor
component
- The IReactorComponentpublic 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