Configuring a custom Drag and Drop listener

You can add your own drag and drop listener implementation of ro.sync.ecss.extensions.api.DnDHandler. You can choose from three interfaces to implement depending on whether you are using the framework with the <oXygen/> Eclipse plugin or the standalone version or if you want to add the handler for the Text or Author pages.

Table 7.2. Interfaces for the DnD listener

InterfaceDescription
ro.sync.exml.editor.xmleditor.pageauthor.AuthorCustomDnDHandler

Receives callbacks from the <oXygen/> standalone application for Drag And Drop in Author

com.oxygenxml.editor.editors.author.AuthorDnDListener

Receives callbacks from the <oXygen/> Eclipse plugin for Drag And Drop in Author

com.oxygenxml.editor.editors.TextDnDListener

Receives callbacks from the <oXygen/> Eclipse plugin for Drag And Drop in Text