|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.synccharts.labelparser.bridge.ActionLabelProcessorWrapper
public class ActionLabelProcessorWrapper
A wrapper class that provides methods to process (i.e. parse or serialize) Action labels (i.e. transition labels or entry, inner, exit, suspend actions of states).
Constructor Summary | |
---|---|
ActionLabelProcessorWrapper()
Default Constructor initializes parsers and serializers. |
Method Summary | |
---|---|
Command |
getProcessAffectedActionLabelCommand(ValuedObject changedObject,
EObject theParent,
boolean parse)
|
static void |
processActionLabels(EObject parent,
boolean parse)
Trigger the parsing or serialization of Action labels of a given scope. |
void |
processAffectedActionLabels(ValuedObject changedObject,
EObject theParent,
boolean parse)
Recursively parse or serialize all Action objects starting from the parent object and recursively calling it to child states resp. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionLabelProcessorWrapper()
Method Detail |
---|
public void processAffectedActionLabels(ValuedObject changedObject, EObject theParent, boolean parse) throws KielerModelException, IOException
changedObject
- the Signal/Variable that has changed its nametheParent
- the current parent object, either State or Regionparse
- true if the label should be reparsed, false if it should be
serialized
IOException
- unlikely parser IO error
KielerModelException
- possible parser syntax errorspublic Command getProcessAffectedActionLabelCommand(ValuedObject changedObject, EObject theParent, boolean parse)
public static void processActionLabels(EObject parent, boolean parse) throws Exception
parent
- the context to start the action searchparse
- true, if parsing, false if serializing
Exception
- if parsing has failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |