How to define custom DITAMapTreeDropHandler as a wrapper to default one ?
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 64
- Joined: Wed Dec 03, 2014 11:25 am
How to define custom DITAMapTreeDropHandler as a wrapper to default one ?
Hello,
I want to define a custom DITAMapTreeDropHandler to perform some URL operations before call the default one.
Is it available ? how to do this ?
To be more precise, my need is to benefit from AuthorNode schema aware selection of default map tree handler.
Thanks a lot
Regards,
Vince
I want to define a custom DITAMapTreeDropHandler to perform some URL operations before call the default one.
Is it available ? how to do this ?
To be more precise, my need is to benefit from AuthorNode schema aware selection of default map tree handler.
Thanks a lot
Regards,
Vince
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to define custom DITAMapTreeDropHandler as a wrapper to default one ?
Hi Vince,
So you already used our API "WSDITAMapEditorPage.addDropHandler(DITAMapTreeDropHandler)" to register your own tree drop handler, right?
And on the "consumeDropURLs" callback you can either decide to handle this event yourself or to return "false" and let Oxygen handle it.
I'm afraid you do not have the means to directly call the code Oxygen would perform if you return "false".
You have access to the "WSDITAMapEditorPage.getDocumentController()" to insert your own topic refs.
Regards,
Radu
So you already used our API "WSDITAMapEditorPage.addDropHandler(DITAMapTreeDropHandler)" to register your own tree drop handler, right?
And on the "consumeDropURLs" callback you can either decide to handle this event yourself or to return "false" and let Oxygen handle it.
I'm afraid you do not have the means to directly call the code Oxygen would perform if you return "false".
You have access to the "WSDITAMapEditorPage.getDocumentController()" to insert your own topic refs.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service