Capturing/Listening to the start point of a Label Edit Event on a diagram [message #1729022] |
Sat, 09 April 2016 16:08 |
Parsa Pourali Messages: 210 Registered: February 2014 |
Senior Member |
|
|
Hi Everyone,
Do you guys have any idea on how I can listen to the starting of a label edit ?
Currently, we can define a tool for EditLabel in Sirius and run a java service to do a desired action. However, it only fires when the editing is finished. For example, I need to show a form when the user clicks on a label to edit. If I write a java service to show the form, the form is shown when the editing action is done. I need to show the form when the label has entered in the editing mode !
I tried to use Input Label Expression as it is fired at the beginning of the label edit. But, for some reasons it run the java service 6 times !!!
To give you a more concrete idea, I need to show a Xtext embedded editor to the user to edit the transition label.
Thank you,
Bests,
Parsa
[Updated on: Sun, 10 April 2016 01:36] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02850 seconds