Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » State Machine connector labels(Want to change from default)
State Machine connector labels [message #1745642] Thu, 13 October 2016 17:39 Go to next message
Stephen Blackwell is currently offline Stephen BlackwellFriend
Messages: 138
Registered: March 2014
Senior Member
On a state machine diagram, if I create a transition between 2 states and give the transition a name of "Transition", the connector is labeled with the name of the transition.
In the transition property view, I add a guard called "Guard" and an effect called "Effect" but the connector label does not change.
I bring up the context menu for the transition and select Label Manager but there is no option to make the connector the normal
<trigger>[guard]/<effect>

index.php/fa/27362/0/

I found this old forum thread https://www.eclipse.org/forums/index.php/t/151474/
which references this old bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=290237

which suggest that it should be possible.

Perhaps this has been changed to a CSS function?

Steve
Re: State Machine connector labels [message #1745808 is a reply to message #1745642] Mon, 17 October 2016 16:19 Go to previous messageGo to next message
Stephen Blackwell is currently offline Stephen BlackwellFriend
Messages: 138
Registered: March 2014
Senior Member
Found this bug which seems to have been ignored since 2013.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=345882

The version is very old, 0.8.1 but the bug still applies to 2.0.1. I've added this thread to the bug.

Steve
Re: State Machine connector labels [message #1745863 is a reply to message #1745808] Tue, 18 October 2016 13:39 Go to previous messageGo to next message
Stephen Blackwell is currently offline Stephen BlackwellFriend
Messages: 138
Registered: March 2014
Senior Member
For those following this thread, the issue has been confirmed. The developers appear to prefer communicating in bugzilla rather than this forum so follow bug 345882 (see previous message) for updates.

Steve
Re: State Machine connector labels [message #1745910 is a reply to message #1745863] Wed, 19 October 2016 09:16 Go to previous message
Ansgar Radermacher is currently offline Ansgar RadermacherFriend
Messages: 229
Registered: March 2011
Location: Paris Saclay, France
Senior Member
Bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=345882 has been fixed.

Please 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.
Previous Topic:Creating extended diagram types based on the delivered ones
Next Topic:Association End Name
Goto Forum:
  


Current Time: Sun Jan 19 19:54:00 GMT 2020

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

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

Back to the top