de.cau.cs.kieler.uml2.sim.kiem
Class DataComponentSim
java.lang.Object
de.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.uml2.sim.kiem.DataComponent
de.cau.cs.kieler.uml2.sim.kiem.DataComponentSim
- All Implemented Interfaces:
- IDataComponent, IJSONObjectDataComponent, IExecutableExtension
public class DataComponentSim
- extends DataComponent
- implements IJSONObjectDataComponent
The Class DataComponent.
- Rating

Methods inherited from class de.cau.cs.kieler.uml2.sim.kiem.DataComponent |
checkModelValidation, clearConsole, doModel2ModelTransform, doProvideInitialVariables, extractActiveStates, getAllActions, getAllEvents, getCurrentStateIds, getEMFId, getInitialStates, getInputEditor, getInputModelEObject, getMaudeBaseCodeLocation, getMaudeGenCodeLocation, getNotationElement, getXtendFacade, isWindows, printConsole, refreshWorkspace, resetAllEventsAndActions, resetMappingHashmap, transformToCygwinPath, wrapup |
Methods inherited from class de.cau.cs.kieler.sim.kiem.ui.datacomponent.JSONObjectSimulationDataComponent |
bringProblemsViewToFront, checkProperties, getActivePage, getEditor, getInputModel, getInputModelAsURI, getInputResourceSet, getInputWorkspaceModel, getModelRootElement, isObserver, isProducer, isTransformationCompleted, isTransformationError, provideFilterKeysJSON, provideInitialVariables, provideProperties, resolveBundelFile, step |
Methods inherited from class de.cau.cs.kieler.sim.kiem.internal.AbstractDataComponent |
finalize, getConfigurationElement, getCurrentComponentID, getDataComponentId, getName, getPluginId, getProperties, getShell, isDeltaObserver, isHistoryObserver, isHistoryStep, isInvisible, isMacroStepDone, isMaster, isMasterImplementingGUI, isMultiInstantiable, masterCommand, masterGetAimedStepDuration, masterGUI, masterGUIisEnabled, masterIsPaused, masterIsRunning, masterSetAimedStepDuration, masterSetKIEMInstance, notifyEvent, provideEventOfInterest, provideFilterKeys, setConfigurationElemenet, setCurrentComponentID, setHistoryStep, setInitializationData, setProperties |
DataComponentSim
public DataComponentSim()
- Instantiates a new data component.
doProvideProperties
public KiemProperty[] doProvideProperties()
- Overrides:
doProvideProperties
in class DataComponent
extractActions
public String[] extractActions(String maudeResult)
- Extract actions.
- Overrides:
extractActions
in class DataComponent
- Parameters:
maudeResult
- the maude result
- Returns:
- the string[]
doStep
public JSONObject doStep(JSONObject signals)
throws KiemExecutionException
- Description copied from class:
JSONObjectSimulationDataComponent
- Implements the real step method for this simulation datacomponent.
- Overrides:
doStep
in class DataComponent
- Parameters:
signals
- the j son object
- Returns:
- the jSON object
- Throws:
KiemExecutionException
- the kiem execution exception
selectCurrentState
public String[] selectCurrentState(List<String[]> currentStatesChoicesParam)
- Overrides:
selectCurrentState
in class DataComponent
initialize
public void initialize()
throws KiemInitializationException
- Description copied from interface:
IDataComponent
- Initialize. Do some initializing prior to execution. If an error occurs during
initialization, the DataComponent should raise a
KiemInitializationException
.
- Specified by:
initialize
in interface IDataComponent
- Overrides:
initialize
in class DataComponent
- Throws:
KiemInitializationException
- a KiemInitializationException