Change Oxygen Toolbar Menu with any custom condtion
Oxygen general issues.
-
- Posts: 1
- Joined: Thu Jan 11, 2018 5:25 pm
Change Oxygen Toolbar Menu with any custom condtion
Post by jerryjames »
Need to change the value coming on the menu based on some custom condition.
Currently, the menu details have been added to oxygen framework file.
Is there anyway to change the name in menu dynamically.
Currently, the menu details have been added to oxygen framework file.
Is there anyway to change the name in menu dynamically.
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Change Oxygen Toolbar Menu with any custom condtion
Hi Jerry,
The action names added in the framework are static, they cannot be changed depending on a certain condition, change in the document.
One possibility would be to implement an Oxygen Java-based workspace access plugin:
https://www.oxygenxml.com/doc/versions/ ... lugin.html
Such a plugin receives a reference to the main Oxygen Java Swing-based menu and it can also add various listener to detect when XML documents are opened, or caret listeners in opened documents.
Regards,
Radu
The action names added in the framework are static, they cannot be changed depending on a certain condition, change in the document.
One possibility would be to implement an Oxygen Java-based workspace access plugin:
https://www.oxygenxml.com/doc/versions/ ... lugin.html
Such a plugin receives a reference to the main Oxygen Java Swing-based menu and it can also add various listener to detect when XML documents are opened, or caret listeners in opened documents.
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