Guards on control flow edge [message #982806] |
Tue, 13 November 2012 07:38  |
Eclipse User |
|
|
|
Hi
I am new to using Papyrus. I am trying to set a Literalstring guard on an activity edge (control flow), but don't seem to be able to do so.
Clicking on the edge, and then in the properties view, UML tab, the guard field, select LiteralString, and then entering a name and value. This doenst display the LiteralString on the diagram, and when you look at the value field it is set to "null", even though I specified a value.
Am I doing something wrong, misunderstanding something. This seems to work for other literal values like boolean. What am I missing?
Thanks for your help!
Jaco
|
|
|
Re: Guards on control flow edge [message #983119 is a reply to message #982806] |
Tue, 13 November 2012 12:44  |
Eclipse User |
|
|
|
Hello Jaco,
What version are you using ?
In the latest version (0.9.1), in the Guard property of the transition you have to add a Constraint, and in that constraint you can add a LiteralString as a specification.
The value of the LiteralString is properly displayed as a guard on the diagram.
Regards
Vlad
|
|
|
Powered by
FUDForum. Page generated in 0.03385 seconds