|
||||||||||
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.kev.extension.dataobserver.KEVDataObserver
public class KEVDataObserver
Field Summary |
---|
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 |
Constructor Summary | |
---|---|
KEVDataObserver()
|
Method Summary | |
---|---|
void |
initialize()
Disables the load button during execution and creates the KEV-view if it's not already done. |
boolean |
isDeltaObserver()
Checks if component is a delta observer. |
boolean |
isHistoryObserver()
Tells the ExecutionManager to store all data for an eventually history playback. |
boolean |
isObserver()
Tells the ExecutionManager that the KEV-view is an observer. |
boolean |
isProducer()
Tells the ExecutionManager that the KEV-view is not a producer. |
JSONObject |
provideInitialVariables()
Sets the initial values for the KIEM data table with the SVG element id's from mapping file as JSON keys. |
JSONObject |
step(JSONObject jSONObject)
Applies the JSON data to the SVG document. |
void |
wrapup()
Sets the running status of the ExecutionManager to false an enables the open wizard button. |
Methods inherited from class de.cau.cs.kieler.sim.kiem.JSONObjectDataComponent |
---|
getInitialVariables, provideFilterKeysJSON, setInitialVariables |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KEVDataObserver()
Method Detail |
---|
public JSONObject step(JSONObject jSONObject)
step
in interface IJSONObjectDataComponent
jSONObject
- The actual JSONObject, returned by the ExecutionManager.
IJSONObjectDataComponent#step(de.cau.cs.kieler.sim.kiem.json.JSONObject)
,
JSONObject, ExecutionManager
public JSONObject provideInitialVariables()
provideInitialVariables
in class JSONObjectDataComponent
public void initialize() throws KiemInitializationException
initialize
in interface IDataComponent
KiemInitializationException
- An exception which raises if the KEV-view can't be created.public boolean isDeltaObserver()
AbstractDataComponent
isDeltaObserver
in class AbstractDataComponent
public boolean isObserver()
isObserver
in interface IDataComponent
de.cau.cs.kieler.sim.kiem.extension.IDataComponent#isObserver()
,
ExecutionManager
public boolean isProducer()
isProducer
in interface IDataComponent
de.cau.cs.kieler.sim.kiem.extension.IDataComponent#isProducer()
public boolean isHistoryObserver()
isHistoryObserver
in class AbstractDataComponent
public void wrapup()
wrapup
in interface IDataComponent
de.cau.cs.kieler.sim.kiem.extension.IDataComponent#wrapup()
,
Activator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |