|
|
|
|
|
|
Re: Why edges are not persisted when nodes are? How to change it? [message #658524 is a reply to message #658394] |
Tue, 08 March 2011 15:15  |
Eclipse User |
|
|
|
Hi Vitaly,
glad it works for you.
> I have no idea why, as implemented methods don't even get called.
I pretty much had the same effect: it wasn't actually necessary to implement the three additional methods (I just left them blank) as they never get called. It seems that merely extending that different parent class already does the job of changing the code path somewhere to do the right thing.
> I have changed the supertype only for the CanonicalPolicy of the diagram root edit part. Do you think it's necessary to do the same for the remaining edit parts?
I would think you need to change it in every XxxCanonicalEditPolicy which you have in your diagram editor, but of course NOT for the other policies (like e.g. the SemanticEditPolicies).
|
|
|
Powered by
FUDForum. Page generated in 0.04292 seconds