public class MOOSEModel extends Item
Modifier and Type | Class and Description |
---|---|
static class |
MOOSEModel.TreeType
Enumeration to discern if a tree object is an AdaptiveTreeComposite, or
just a TreeComposite.
|
Modifier and Type | Field and Description |
---|---|
static int |
fileDataComponentId
The ID of the DataComponent containing the output file name.
|
static int |
mooseTreeCompositeId
The ID of the TreeComposite containing the MOOSE input tree.
|
static int |
resourceComponentId
The ID of the ResourceComponent that holds the mesh ICEResource.
|
component
Constructor and Description |
---|
MOOSEModel()
Nullary constructor.
|
MOOSEModel(org.eclipse.core.resources.IProject projectSpace)
The constructor with a project space in which files should be
manipulated.
|
Modifier and Type | Method and Description |
---|---|
void |
loadInput(java.lang.String input)
This operation is responsible for loading a MOOSE input file into the
Form's TreeComposite (id=2).
|
FormStatus |
process(java.lang.String actionName)
This operation creates the MOOSE input file.
|
void |
update(IUpdateable component)
This method updates the ResourceComponet with a new VizResource if the
Mesh block's "file" Entry has changed.
|
addListener, cancelProcess, cancelProcess, clone, copy, disable, equals, getAvailableActions, getDescription, getForm, getId, getItemBuilderName, getItemType, getName, getOutputFile, getResource, getResource, getStatus, hashCode, hasProject, isEnabled, loadFromPSF, reloadProjectData, setActionFactory, setDescription, setId, setIOService, setItemBuilderName, setName, setProject, setupFormWithServices, submitForm, update, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
public static final int fileDataComponentId
public static final int mooseTreeCompositeId
public static final int resourceComponentId
public MOOSEModel()
public MOOSEModel(org.eclipse.core.resources.IProject projectSpace)
projectSpace
- The Eclipse project where files should be stored and from
which they should be retrieved.public FormStatus process(java.lang.String actionName)
process
in class Item
actionName
- The name of action that should be performed using the
processed Form data.public void loadInput(java.lang.String input)
public void update(IUpdateable component)
update
in interface IUpdateableListener
update
in class Item
component
- The component that triggered an update