Closed philip-alldredge closed 10 years ago
Philip, just talked to Lutz. He tried to simplify the Meta model now that we have explicit declaration of internal features. In that context he had flipped the role of the TriggerPort class and the ModeTransitionTrigger class. See https://wiki.sei.cmu.edu/aadl/index.php/Metamodel_updates#Mode_Transition_Triggers
I get a compilation error in your code trying to retrieve the port from TriggerPort - now to be retrieved from ModeTransitionTrigger. You must have already fixed that.
Similarly, the name resolver needs to retrieve the context from ModeTransitionTrigger, the context being the subcomponent. I will fix that this evening and push out the change.
closed. I also made the changes to your source code I mentioned above. They were changing to ModeTransitionTrigger and the method from getPort to getTriggerPort.
The changes solves the issue. Thank you!
Hello, The recent meta-model changes have causes issues with mode transitions that have a trigger that is inside of a subcomponent or feature group. See below for more details and example.