Drop objects onto the XML editor.
Posted: Thu Jun 14, 2012 1:40 pm
Hello,
We do use the Eclipse version of Oxygen 13.2.
I´d like to drop graphic objects onto the XML editor, so that they are inserted at the location where the drop takes place.
Currently I try to use com.oxygenxml.editor.editors.author.AuthorDnDListener extension to achieve that.
When a drop occurs I want to use one of the insertXMLFragment methods of the ro.sync.ecss.extensions.api.AuthorDocumentController, but I do not know where to get the correct arguments for the method.
Do you have a hint for me, how I can achieve to insert XML fragments via Drag&Drop at the right position where the drop takes place?
Regards,
Simon
We do use the Eclipse version of Oxygen 13.2.
I´d like to drop graphic objects onto the XML editor, so that they are inserted at the location where the drop takes place.
Currently I try to use com.oxygenxml.editor.editors.author.AuthorDnDListener extension to achieve that.
When a drop occurs I want to use one of the insertXMLFragment methods of the ro.sync.ecss.extensions.api.AuthorDocumentController, but I do not know where to get the correct arguments for the method.
Do you have a hint for me, how I can achieve to insert XML fragments via Drag&Drop at the right position where the drop takes place?
Regards,
Simon