public class ReactorAnalyzer extends Item implements java.lang.Runnable
The ReactorAnalyzer class is the primary class in ICE for analyzing data produced as part of a reactor simulation.
The Form for this Item contains a
Data Component ("Data Sources" with id=1), a
ResourceComponent ("Analysis Artifacts" with id = 2), and a
MasterDetailsComponent ("Analysis Configuration" with id = 3).
The MasterDetailsComponent is used to select the types of analyses that
should be performed and set their properties. (It is a little more like
picking the types of artifacts that should be created, but close enough.)
The "Data Sources" component contains two Entries named "Input Data" with id=1 and "Reference Data" with id = 2.
The ResourceComponent is initially empty, but directing the ReactorAnalyzer to generate artifacts populates the ResourceComponent with those artifacts. The ResourceComponent is monitored for changes and the artifacts are updated on the fly. The ResourceComponent is named "Analysis Artifacts" and has id=2.
Modifier and Type | Field and Description |
---|---|
static int |
inputReactorComponentId
The component id for the IReactorComponent component that holds analysis
artifacts
|
static int |
reactorCompositeId
The component ID for the ReactorComposite that will contain the input and
reference reactor components.
|
static int |
referenceReactorComponentId
The component id for the LWRComponent component that holds analysis
artifacts
|
component
Constructor and Description |
---|
ReactorAnalyzer()
An alternative nullary constructor used primarily for serialization.
|
ReactorAnalyzer(org.eclipse.core.resources.IProject projectSpace)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
FormStatus |
getStatus()
This operation functions as Item.getStatus(), but is overridden to handle
concurrency within the ReactorAnalyzer.
|
FormStatus |
process(java.lang.String actionName)
This operation overrides the operation on the Item base class to generate
analysis artifacts.
|
void |
run()
(non-Javadoc)
|
void |
setAnalysisTools(java.util.ArrayList<IAnalysisTool> tools)
This operation sets the IAnalysisTools that are available to the
ReactorAnalyzer.
|
addListener, cancelProcess, cancelProcess, clone, copy, disable, equals, getAvailableActions, getDescription, getForm, getId, getItemBuilderName, getItemType, getName, getOutputFile, getResource, getResource, hashCode, hasProject, isEnabled, loadFromPSF, loadInput, reloadProjectData, setActionFactory, setDescription, setId, setIOService, setItemBuilderName, setName, setProject, setupFormWithServices, submitForm, update, update, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
public static final int inputReactorComponentId
public static final int referenceReactorComponentId
public static final int reactorCompositeId
inputReactorComponentId
and resourceCompId
,
respectively.public ReactorAnalyzer(org.eclipse.core.resources.IProject projectSpace)
The constructor.
projectSpace
- The Eclipse project used by the ReactorAnalyzer.
public ReactorAnalyzer()
An alternative nullary constructor used primarily for serialization. The setProject() operation must be called if this constructor is used!
public void setAnalysisTools(java.util.ArrayList<IAnalysisTool> tools)
This operation sets the IAnalysisTools that are available to the ReactorAnalyzer.
tools
- The set of IAnalysisTools.
public FormStatus process(java.lang.String actionName)
This operation overrides the operation on the Item base class to generate analysis artifacts. The only valid action name is "Generate Analysis Artifacts."
public FormStatus getStatus()
This operation functions as Item.getStatus(), but is overridden to handle concurrency within the ReactorAnalyzer.
public void run()
run
in interface java.lang.Runnable
Runnable.run()