|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.sim.kiem.internal.AbstractDataComponent
de.cau.cs.kieler.sim.kiem.JSONObjectDataComponent
de.cau.cs.kieler.sim.kiem.ui.datacomponent.JSONObjectSimulationDataComponent
de.cau.cs.kieler.sim.kiem.automated.AbstractAutomatedComponent
public abstract class AbstractAutomatedComponent
Default implementation of an automated component.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.cau.cs.kieler.sim.kiem.ui.datacomponent.JSONObjectSimulationDataComponent |
---|
JSONObjectSimulationDataComponent.M2MProgressMonitor |
Field Summary |
---|
Fields inherited from class de.cau.cs.kieler.sim.kiem.ui.datacomponent.JSONObjectSimulationDataComponent |
---|
activePage, activePageFlag, exception, modelEditor |
Fields inherited from class de.cau.cs.kieler.sim.kiem.internal.AbstractDataComponent |
---|
MASTER_CMD_MACROSTEP, MASTER_CMD_PAUSE, MASTER_CMD_RUN, MASTER_CMD_STEP, MASTER_CMD_STEPBACK, MASTER_CMD_STOP |
Fields inherited from interface de.cau.cs.kieler.sim.kiem.automated.IAutomatedComponent |
---|
ANY_TYPE, ANY_TYPE_ARRAY, ITERATION, MODEL_FILE |
Constructor Summary | |
---|---|
AbstractAutomatedComponent()
|
Method Summary | |
---|---|
protected int |
getIteration()
Getter for the iteration index retrieved from the parameter list. |
protected IPath |
getModelFile()
Getter for the model file retrieved from the parameter list. |
int |
getNumberOfAdditionalIterations()
The default implementation doesn't need any runs. |
int |
getNumberOfAdditionalSteps()
The default implementation doesn't need any steps. |
String[] |
getSupportedExtensions()
This component doesn't support any files. |
void |
setParameters(List<KiemProperty> properties)
The default implementation only retrieves the model file and the current iteration index. |
int |
wantsMoreRuns()
Deprecated. use getNumberOfAdditionalIterations() |
int |
wantsMoreSteps()
Deprecated. use getNumberOfAdditionalSteps() |
Methods inherited from class de.cau.cs.kieler.sim.kiem.ui.datacomponent.JSONObjectSimulationDataComponent |
---|
bringProblemsViewToFront, checkModelValidation, checkProperties, doModel2ModelTransform, doProvideInitialVariables, doProvideProperties, doStep, getActivePage, getEditor, getInputEditor, getInputModel, getInputModelAsURI, getInputModelEObject, getInputResourceSet, getInputWorkspaceModel, getModelRootElement, getNotationElement, initialize, isObserver, isProducer, isTransformationCompleted, isTransformationError, provideFilterKeysJSON, provideInitialVariables, provideProperties, resolveBundelFile, step |
Methods inherited from class de.cau.cs.kieler.sim.kiem.JSONObjectDataComponent |
---|
getInitialVariables, setInitialVariables |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.cau.cs.kieler.sim.kiem.IDataComponent |
---|
wrapup |
Constructor Detail |
---|
public AbstractAutomatedComponent()
Method Detail |
---|
public String[] getSupportedExtensions()
getSupportedExtensions
in interface IAutomatedComponent
public void setParameters(List<KiemProperty> properties) throws KiemInitializationException
setParameters
in interface IAutomatedComponent
properties
- the properties passed before each execution
KiemInitializationException
- if something went wrong@Deprecated public int wantsMoreRuns()
wantsMoreRuns
in interface IAutomatedComponent
public int getNumberOfAdditionalIterations()
getNumberOfAdditionalIterations
in interface IAutomatedComponent
@Deprecated public int wantsMoreSteps()
wantsMoreSteps
in interface IAutomatedComponent
public int getNumberOfAdditionalSteps()
getNumberOfAdditionalSteps
in interface IAutomatedComponent
protected IPath getModelFile()
protected int getIteration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |