Modifying model after editing [message #107493] |
Wed, 28 February 2007 04:24 |
Eclipse User |
|
|
|
Originally posted by: jgreen.upb.de
Hi,
I want to add some more 'intelligence' when drawing a link, but need some help how to do that.
Firstly, I want to configure the created (link) model element and set a certain attribute. I did this by extending an
EditHelperAdvice and implementing the getAfterConfigureCommand(). This felt like its the right place to do that... (is it?)
Secondly, in my editor, there are contexts where an link in the forward direction also requires a backward edge to
exist. How do I do that? It is more than setting an attribute, because it also requires a new graphical link element to
be created. I suppose this goes beyond what the EditHelperAdvice is meant to do?
I would be happy about some advice!
Cheers
Joel
|
|
|
Powered by
FUDForum. Page generated in 0.04945 seconds