Customization of link handling
Oxygen general issues.
Customization of link handling
Hi,
I have a document with a link inside. I can jump to the element by clicking the left mouse button. Is it possible to change it? I want to press CTRL and the left mouse button.
Best regards,
Denis
I have a document with a link inside. I can jump to the element by clicking the left mouse button. Is it possible to change it? I want to press CTRL and the left mouse button.
Best regards,
Denis
Denis Zygann
KGU Consulting GmbH
http://www.kgu-consulting.com
KGU Consulting GmbH
http://www.kgu-consulting.com
Re: Customization of link handling
Hi Denis,
Sorry but we do not have specific API for this. Possibly you could add a mouse listener WSAuthorEditorPageBase.addAuthorMouseListener(AuthorMouseListener) and consume the left click event in order to avoid the default behavior. On the same left click event, if the CTRL is pressed ro.sync.ecss.extensions.api.AuthorInputEvent.isCtrlPressed() you could try to see on what node the click was made using WSAuthorEditorPageBase.viewToModel(int, int) and possibly perform your logic, use our API to open a certain URL for example AuthorAccess.getWorkspaceAccess().open(URL url).
Regards,
Radu
Sorry but we do not have specific API for this. Possibly you could add a mouse listener WSAuthorEditorPageBase.addAuthorMouseListener(AuthorMouseListener) and consume the left click event in order to avoid the default behavior. On the same left click event, if the CTRL is pressed ro.sync.ecss.extensions.api.AuthorInputEvent.isCtrlPressed() you could try to see on what node the click was made using WSAuthorEditorPageBase.viewToModel(int, int) and possibly perform your logic, use our API to open a certain URL for example AuthorAccess.getWorkspaceAccess().open(URL url).
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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