Add a costum action in contextual menu with standalone application
Oxygen general issues.
-
- Posts: 3
- Joined: Mon Mar 18, 2013 4:28 pm
Add a costum action in contextual menu with standalone application
Hello,
I want to add a costum action in my contextual menu for the stadalone application.
I saw the example for eclipse plugin (addPopUpMenuCustomizer) but i don't know how to do it for the standalone application.
Do you have an example for the standalone application please?
Regard
I want to add a costum action in my contextual menu for the stadalone application.
I saw the example for eclipse plugin (addPopUpMenuCustomizer) but i don't know how to do it for the standalone application.
Do you have an example for the standalone application please?
Regard
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Add a costum action in contextual menu with standalone application
Hi Cristoff,
Two ways:
1) If you already have an ExtensionsBundle implementation for your custom framework, on the callback createAuthorExtensionStateListener() create a custom AuthorExtensionStateListener (if you have not already done so).
Then on the "activated" callback call our API:
authorAccess.getEditorAccess().addPopUpMenuCustomizer....
2) Implement a Workspace Access plugin type, our Plugin SDK should contain sample Java code for this:
http://www.oxygenxml.com/oxygen_sdk.htm ... er_Plugins
The sample Java class CustomWorkspaceAccessPluginExtension in the Plugins SDK should have an example of customizing the pop-up menu.
Regards,
Radu
Two ways:
1) If you already have an ExtensionsBundle implementation for your custom framework, on the callback createAuthorExtensionStateListener() create a custom AuthorExtensionStateListener (if you have not already done so).
Then on the "activated" callback call our API:
authorAccess.getEditorAccess().addPopUpMenuCustomizer....
2) Implement a Workspace Access plugin type, our Plugin SDK should contain sample Java code for this:
http://www.oxygenxml.com/oxygen_sdk.htm ... er_Plugins
The sample Java class CustomWorkspaceAccessPluginExtension in the Plugins SDK should have an example of customizing the pop-up menu.
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