Hiding validation menu "XSV" in oxygen toolbar
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 12
- Joined: Thu Mar 20, 2014 5:10 pm
Hiding validation menu "XSV" in oxygen toolbar
Hi, do you have any idea if I can hide the "XSV" menu in the oxygen toolbar for the oxygen author eclipse plugin? The toolbar that i am referring to is located outside the oxygen xml editor.
I have been trying to hide this from user with eclipse activities approach but I can't get the action id to hide it.
I have been trying to hide this from user with eclipse activities approach but I can't get the action id to hide it.

-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Hiding validation menu "XSV" in oxygen toolbar
Hi,
I believe you are referring to the Custom Validation Engines toolbar menu.
Unfortunately that toolbar button/menu cannot be completely eliminated as it is created and populated programmatically depending on the custom validation engines available in that context.
The best you could do is eliminate all but one of the actions listed in it. You can do this by removing the custom validation engines defined in Window > Preferences, oXygen > Editor > Custom Validation Engines (LIBXML, XSV, etc). Note that you cannot remove the Saxon-EE engine from that list, so that's the one you'll have to live with.
Regards,
Adrian
I believe you are referring to the Custom Validation Engines toolbar menu.
Unfortunately that toolbar button/menu cannot be completely eliminated as it is created and populated programmatically depending on the custom validation engines available in that context.
The best you could do is eliminate all but one of the actions listed in it. You can do this by removing the custom validation engines defined in Window > Preferences, oXygen > Editor > Custom Validation Engines (LIBXML, XSV, etc). Note that you cannot remove the Saxon-EE engine from that list, so that's the one you'll have to live with.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Hiding validation menu "XSV" in oxygen toolbar
Hi,
If you are using the latest Oxygen 16.1 Eclipse plugin the actions added by Oxygen on the toolbars should each have an ID (calling getId() on the action should return a platform-independent unique string).
Then in your Eclipse plugin you can implement the "actionBarContributorCustomizer" extension to provide an implementation for the ActionBarContributorCustomizer API class which has a callback method called com.oxygenxml.editor.editors.ActionBarContributorCustomizer.customizeActionsContributedToDocumentToolbar(List<IAction>) which you can use to filter out actions.
Regards,
Radu
If you are using the latest Oxygen 16.1 Eclipse plugin the actions added by Oxygen on the toolbars should each have an ID (calling getId() on the action should return a platform-independent unique string).
Then in your Eclipse plugin you can implement the "actionBarContributorCustomizer" extension to provide an implementation for the ActionBarContributorCustomizer API class which has a callback method called com.oxygenxml.editor.editors.ActionBarContributorCustomizer.customizeActionsContributedToDocumentToolbar(List<IAction>) which you can use to filter out actions.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
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