|
|
|
Re: customization of label edit of a transition in state diagram [message #1712506 is a reply to message #1712157] |
Mon, 26 October 2015 04:42  |
Eclipse User |
|
|
|
Le 21/10/2015 17:02, Parsa Pourali a écrit :
> Hi Laurent,
>
> Not sure if you got my point or not, but assume that in our metamodel there is a transition (for statemachines). What I want to do is to run a particular method when the end user edits the transition. for example, when the user double clicks the transition to edit its label, I want to show a message box to the user.
>
> In the Label Direct Edit I only see three options. How can I put my own method there ?! I have attached an image to make it more clear.
>
> Thanks.
> Best,
> Parsa
>
Hi,
The "three options" correspond to the 3 DirectEditLabel tool defined in
your VSM. If you want to make something special for this mapping, you
have to define a specific DirectEditLabel tool in the tool section and
associate it to the mapping.
Best regards,
--
Laurent Redor - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.03798 seconds