Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » is there a way to eliminate useless add and remove notifications of the XML-Editor or has anyone mad
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 18:38
Sandro Schiefner is currently offline 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
Previous Topic:Profile Server (WTP and TPTP)
Next Topic:how do I make my java source folder also my output folder?
Goto Forum:
  


Current Time: Mon Jul 28 08:27:37 EDT 2014

Powered by FUDForum. Page generated in 0.02236 seconds