is there a way to eliminate useless add and remove notifications of the XML-Editor or has anyone mad [message #169787] |
Mon, 22 May 2006 22:38 |
Sandro Schiefner Messages: 13 Registered: July 2009 |
Junior Member |
|
|
Hi,
I wrote a plugin that uses the XML-editor of the WTP to define my
EMF-Model. So far everything works fine, I used the EMF2DOMSSEAdapter to
adapt the IDOMDocument with my EMF-Model.
Because the EMF2DOMSSEAdapter does not support adding and removing nodes
and then synchronizes the changes with my EMF-Model, I had to write my
own adapter that uses then Translators (Thanks to Daniel Rohe).
Now, if I add a new node in the XML-editor, I get remove notifications
of the siblings that are below the added node.
After this I get add-notifications of the siblings that are below the
added node.
Now the question:
Is there a way to add a node in the XML-editor, without add and remove
notifications of the siblings that are below the added node?
Or has someone a different approach to edit an EMF-Model with the
WTP-XML editor...
Sandro
|
|
|
Powered by
FUDForum. Page generated in 0.04098 seconds