Problem with model-view update [message #602627] |
Wed, 28 July 2010 10:01 |
Eclipse User |
|
|
|
Hi,
I'm writing a plugin for Papyrus that implements notifyChanged estension point:
it checks if a generalization between two classes is created and then copies all the ports of superclass in the subclass.
I used getNotifier that returns a Generalization object and then I took the two classes with getSources and getTargets.
I used a RecordingCommand to:
copy the ports of superclass with EcoreUtil.Copier, then
I added them to subclass with subclass.getOwnedPorts().add(copiedPort)
I execute the command but here's what appens:
I can see the changes in the navigation bar, but I can't see them in the editor.
What is missing? What did I do wrong?
Thanks in advance, star123
|
|
|
Powered by
FUDForum. Page generated in 0.04624 seconds