Community
Participate
Working Groups
- It is not possible to hide/show guard. It should be hidden by default. - If a guard with an opaque language is defined, e.g. “Modelica”, then it is not shown on the diagram.
In addition, it is to be noticed that the guard expression, as a Literal String, was clearly shown in the old version 1.12 of Papyrus (2009). In the current version, an non-empty Opaque Expression is seen as [""] in the StateMachine Diagram.
increased severity as it prevents good understanding of State machine diagrams
Guard specification on a transition is also too much difficult to be done. It shall be also ease.
Concerning display of guards: A single (multi-line) label currently contains guard, trigger and action. In order to control individual visibility, we would need to split it. I have not yet attacked this problem. Another problem is that guards having opaque expression made with Modelica are not shown. This problem has already been resolved with the current 0.10.X version of Papyrus, but only for guards. Opaque expressions within a time or change event have only be shown for bodies tagged as "Natural Language". This is fixed in revision @10746. A similar, but spearate bug is that the xtext-based editor only supports "Natural language" opaque expression, see bug 361361 Concerning the specification of the trigger? Did you use the Xtext based editor? (F2 on a transition). I agree that the property view based dialogs are almost unusable.
Ansgar, can you deal ith that please. thanks.
There are two different aspects in this error. The first is that guards with Modelica opaque expressions are only shown as [""]. I can not reproduce that with the current version (luna nightly), i.e. a test expression is correctly shown (as [expression body]. Can you please verify. If you can still reproduce that an expression is not correctly shown? If yes, please attach your model. The second is that you cannot control what is visible and what is not. There has been some improvements in the context of bug 399863. It is possible to specify via the preference dialog, if guards are or actions are shown (or how many line are shown).
The bug number referenced below is wrong. It should be bug 399864 instead which is fixed now (visibility can be controlled not only via preferences, but also via CSS). I propose to close this bug, since it is not reproducible and there is no additional information. The (In reply to Ansgar Radermacher from comment #6) > There are two different aspects in this error. The first is that guards with > Modelica opaque expressions are only shown as [""]. I can not reproduce that > with the current version (luna nightly), i.e. a test expression is correctly > shown (as [expression body]. Can you please verify. If you can still > reproduce that an expression is not correctly shown? If yes, please attach > your model. > > The second is that you cannot control what is visible and what is not. There > has been some improvements in the context of bug 399863. It is possible to > specify via the preference dialog, if guards are or actions are shown (or > how many line are shown).
I close this task.