public class ReactorFormInput extends ICEFormInput
ReactorFormEditor
s. It requires both an
IAnalysisWidgetRegistry
and a StateBroker
. All
ReactorFormEditors share the same analysis widget registry, but they do not
necessarily share the same StateBroker. Two editors can be linked together by
making them share the same StateBroker.Constructor and Description |
---|
ReactorFormInput(Form inputForm,
IAnalysisWidgetRegistry registry)
The default constructor.
|
ReactorFormInput(Form inputForm,
IAnalysisWidgetRegistry registry,
StateBroker broker)
This constructor provides the specified StateBroker for the
ReactorFormEditor . |
Modifier and Type | Method and Description |
---|---|
IReactorComponent |
getInputReactorComponent()
Gets the input IReactorComponent.
|
ICEResource |
getInputReactorComponentSource()
Gets the ICEResource for the file that contains the input
IReactorComponent.
|
IReactorComponent |
getReferenceReactorComponent()
Gets the reference IReactorComponent.
|
ICEResource |
getReferenceReactorComponentSource()
Gets the ICEResource for the file that contains the reference
IReactorComponent.
|
IAnalysisWidgetRegistry |
getRegistry()
Gets the registry that provides the available
IAnalysisView s to
the reactor editors. |
StateBroker |
getStateBroker()
Gets the StateBroker that manages selections in the reactor editor.
|
void |
setInputReactorComponent(IReactorComponent input,
ICEResource source)
Sets the input reactor component used by the
ReactorAnalyzer . |
void |
setReferenceReactorComponent(IReactorComponent reference,
ICEResource source)
Sets the reference reactor component used by the
ReactorAnalyzer . |
exists, getAdapter, getForm, getImageDescriptor, getName, getPersistable, getToolTipText
public ReactorFormInput(Form inputForm, IAnalysisWidgetRegistry registry)
ReactorFormEditor
and creates a new StateBroker for the editor.inputForm
- The form associated with the Reactor Analyzer item.registry
- The registry that provides the available IAnalysisView
s to the reactor editors.public ReactorFormInput(Form inputForm, IAnalysisWidgetRegistry registry, StateBroker broker)
ReactorFormEditor
.inputForm
- The form associated with the Reactor Analyzer item.registry
- The registry that provides the available IAnalysisView
s to the reactor editors.broker
- The StateBroker that manages selections in the reactor editor.public IAnalysisWidgetRegistry getRegistry()
IAnalysisView
s to
the reactor editors.public StateBroker getStateBroker()
public void setInputReactorComponent(IReactorComponent input, ICEResource source)
ReactorAnalyzer
.input
- The new input reactor component.source
- The source file for the input reactor component.public IReactorComponent getInputReactorComponent()
ReactorFormEditor
.public ICEResource getInputReactorComponentSource()
public void setReferenceReactorComponent(IReactorComponent reference, ICEResource source)
ReactorAnalyzer
.
This updates the underlying form!reference
- The new reference reactor component.source
- The source file for the reference reactor component.public IReactorComponent getReferenceReactorComponent()
ReactorFormEditor
.public ICEResource getReferenceReactorComponentSource()