Visibility of shortcut keys inside Options->Menu Shortcut Ke
Oxygen general issues.
-
- Posts: 2
- Joined: Thu Jan 02, 2014 6:45 pm
Visibility of shortcut keys inside Options->Menu Shortcut Ke
Post by HerbertKoch »
Hello,
Regarding to the workspace plugin example, you have developed some actions (Check Out, Check In, Surround with…). I can add a shortcut key for each JMenuItem entry inside src and recompile the example which works fine, but the actions are not shown by the Options->Menu Shortcut Keys preferences window.
How is it possible to register the plugin actions to be able to view/edit the shortcut keys inside the Menu Shortcut Keys preferences window?
Regards
Herbert Koch
Regarding to the workspace plugin example, you have developed some actions (Check Out, Check In, Surround with…). I can add a shortcut key for each JMenuItem entry inside src and recompile the example which works fine, but the actions are not shown by the Options->Menu Shortcut Keys preferences window.
How is it possible to register the plugin actions to be able to view/edit the shortcut keys inside the Menu Shortcut Keys preferences window?
Regards
Herbert Koch
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Visibility of shortcut keys inside Options->Menu Shortcu
Hi Herbert,
Sorry, but we do not have API to allow you to register additional shortcuts in the Menu Shortcut Keys preferences page. I will add an improvement request for a future version.
Starting with Oxygen 15.0 there is a plugin extension which can be used to contribute custom preference pages from a plugin:
http://www.oxygenxml.com/doc/ug-editor/ ... lugin.html
So you could create your own preferences page with plugin-specific shortcut keys and save them in Oxygen's persistent properties using the options storage API:
ro.sync.exml.workspace.api.PluginWorkspace.getOptionsStorage()
Then from the Workspace Access plugin side you could add an option listener for those specific saved option keys and update your menu item key strokes to reflect the changes.
Regards,
Radu
Sorry, but we do not have API to allow you to register additional shortcuts in the Menu Shortcut Keys preferences page. I will add an improvement request for a future version.
Starting with Oxygen 15.0 there is a plugin extension which can be used to contribute custom preference pages from a plugin:
http://www.oxygenxml.com/doc/ug-editor/ ... lugin.html
So you could create your own preferences page with plugin-specific shortcut keys and save them in Oxygen's persistent properties using the options storage API:
ro.sync.exml.workspace.api.PluginWorkspace.getOptionsStorage()
Then from the Workspace Access plugin side you could add an option listener for those specific saved option keys and update your menu item key strokes to reflect the changes.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 2
- Joined: Thu Jan 02, 2014 6:45 pm
Re: Visibility of shortcut keys inside Options->Menu Shortcu
Post by HerbertKoch »
OK, thanks a lot.
at the appropriate time I will give it a try.
Regards
Herbert Koch
at the appropriate time I will give it a try.
Regards
Herbert Koch
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