| Summary: | [StateMachine Diagram] The syntax "Trigger[Guard]/Effect" is not displayed on the transition | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Fabien Gautreault <fabien.gautreault.ext> |
| Component: | Core | Assignee: | Ansgar Radermacher <ansgar.radermacher> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ansgar.radermacher, charles, Patrick.Tessier, raphael.faudou, zephod |
| Version: | 0.8.1 | ||
| Target Milestone: | 3.0.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/83458 https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=b5c955b52886d1b4785adc1b7a26fb04848af243 https://git.eclipse.org/r/83505 https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=9e4a22122a5dbed3f4209c72b289f95b4817cc89 |
||
| Whiteboard: | |||
|
Description
Fabien Gautreault
This is not the case, such information are shown. The way triggers are created vary depending on they being a when, at, etc. For triggers attached to CallEvent, you select "all" in the dedicated text editor, this creates a generic Trigger attached to the transition, then in the property view if the Trigger you select an event, e.g. a CallEvent. The transition is then updated guard specification content is not displayed : always [""] Change the severity to normal This problem still exists in version 2.0.1. See the forum thread https://www.eclipse.org/forums/index.php/t/1081918/ for an example. I can confirm that this problem exists. I'm pretty sure that the trigger / action display used to work some time ago (after March 2014), it looks like a regression. Anyway, I'll examine the source of the problem. I suggest that the "Trigger[Guard]/Effect" should be the default label for transitions. Perhaps it was when it was working. New Gerrit change created: https://git.eclipse.org/r/83458 Gerrit change https://git.eclipse.org/r/83458 was merged to [master]. Commit: http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=b5c955b52886d1b4785adc1b7a26fb04848af243 New Gerrit change created: https://git.eclipse.org/r/83505 Stephen, can you please retry with a nightly build after the build for the 2.0-maintenance has been done. Please also note, that the appearance of the label can be configured via the Papyrus preferences or the CSS: https://wiki.eclipse.org/MDT/Papyrus/UserGuide/CSS The relevant parameters are bodyCutLength", "indicateParameters" and "lineBreakBeforeEffect". The latter has the advantage that the configuration can be done on a diagram basis. Gerrit change https://git.eclipse.org/r/83505 was merged to [streams/2.0-maintenance]. Commit: http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=9e4a22122a5dbed3f4209c72b289f95b4817cc89 (In reply to Ansgar Radermacher from comment #10) > Stephen, can you please retry with a nightly build after the build for the > 2.0-maintenance has been done. > > Please also note, that the appearance of the label can be configured via the > Papyrus preferences or the CSS: > https://wiki.eclipse.org/MDT/Papyrus/UserGuide/CSS > The relevant parameters are bodyCutLength", "indicateParameters" and > "lineBreakBeforeEffect". > The latter has the advantage that the configuration can be done on a diagram > basis. When is the 2.0-maintenance happening? I tried an update from: http://download.eclipse.org/modeling/mdt/papyrus/updates/nightly/neon which I got from the https://www.eclipse.org/papyrus/download.html web page but there were no updates I've updated this morning (using the update site below) and got a new version. The state-machine labels work. (In reply to Stephen Blackwell from comment #12) > When is the 2.0-maintenance happening? > I tried an update from: > http://download.eclipse.org/modeling/mdt/papyrus/updates/nightly/neon > > which I got from the > https://www.eclipse.org/papyrus/download.html > web page but there were no updates |