Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Showing Triggers on State Machine Transitions
Showing Triggers on State Machine Transitions [message #1849849] Fri, 04 February 2022 15:52 Go to next message
Michael Vinca is currently offline Michael VincaFriend
Messages: 2
Registered: February 2022
Junior Member
I have a simple state diagram with the following states and transitions:
index.php/fa/41631/0/
I've defined a trigger named "Release"
index.php/fa/41632/0/
When I define this trigger, the text "all" appears on the transition, but the name of the trigger does not show up.

Question 1: What can I do to get the text "Release" to show up (potentially as "/Release")?

Question 2: Can I hide "all"?
Re: Showing Triggers on State Machine Transitions [message #1849953 is a reply to message #1849849] Wed, 09 February 2022 16:12 Go to previous messageGo to next message
Ansgar Radermacher is currently offline Ansgar RadermacherFriend
Messages: 375
Registered: March 2011
Location: Paris Saclay, France
Senior Member
Papyrus does not show the name of the trigger, but contents depending on the event that is referenced by the trigger.
For instance, in case of an CallEvent, it's the name of the operation
In case of a TimeEvent, it's the content of the opaque expression.

You can always disable the labels via the filters (show/hide labels, choose Guard label)

HTH
Re: Showing Triggers on State Machine Transitions [message #1849956 is a reply to message #1849849] Wed, 09 February 2022 16:46 Go to previous message
Yoann Farré is currently offline Yoann FarréFriend
Messages: 230
Registered: November 2017
Senior Member
Hello,

To display the name of the trigger, you'll have to associate a signal to the event. The name of the signal will be displayed in the transition.

Example in the joined picture.

HTH.
Yoann.


Previous Topic:Any documentation on model2doc?
Next Topic:Papyrus SW designer 2.1.0 release
Goto Forum:
  


Current Time: Mon Aug 08 16:31:00 GMT 2022

Powered by FUDForum. Page generated in 0.01782 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top