Decorate a class shortcut [message #600476] |
Tue, 26 June 2007 07:48 |
Philippe Messages: 100 Registered: July 2009 |
Senior Member |
|
|
Hi,
I would like to add some options for class shortcuts on ClassD.
First, I would like to had a popupMenu Action for navigating to the
owning package of the shortcut if it exist.
I tought of a simple popupMenu extension with an ActionFilter to
determine whether the editPart is a shortcut. But I'm not so sure about
how to open the diagram corresponding to the package. Any idea?
Second, I would like to add a decoration to a shortcut depending a
parameter that would be set by the user.A kind of "Mark as navigable"
action. The best would be to add a little something (text or icon) to
mark the selected shortcut. From where should I start to make this,
whether in the editPart class or can I make this from an external
plug-ins for leaving UML2Tools code clean.
Thanks for your help
Philippe
|
|
|
Powered by
FUDForum. Page generated in 0.04014 seconds