[oXygen-user] Dynamic Menu Items in Selection Plugin

Thomas, Alexander athom09 at emory.edu
Fri Oct 26 15:00:26 CDT 2012


I have a selection plugin that can be activated either by <ctrl> + <shift> + N OR <right click> > Plugins > PluginName.

I want to add the ability to dynamicaly create a menu with choices of things to do with the selection that will both work with the click and the shortcut key.

I think I want to use  addPopUpMenuCustomizer(AuthorPopupMenuCustomizer)<http://www.oxygenxml.com/InstData/Editor/Plugins/javadoc/ro/sync/exml/workspace/api/editor/page/author/WSAuthorEditorPageBase.html#addPopUpMenuCustomizer%28ro.sync.ecss.extensions.api.structure.AuthorPopupMenuCustomizer%29>  in ro.sync.exml.workspace.api.editor.page.author.WSAuthorEditorPageBase<http://www.oxygenxml.com/InstData/Editor/Plugins/javadoc/ro/sync/exml/workspace/api/editor/page/author/WSAuthorEditorPageBase.html>
OR
addPopUpMenuCustomizer(TextPopupMenuCustomizer)<http://www.oxygenxml.com/InstData/Editor/Plugins/javadoc/ro/sync/exml/workspace/api/editor/page/text/WSTextEditorPage.html#addPopUpMenuCustomizer%28ro.sync.exml.workspace.api.editor.page.text.TextPopupMenuCustomizer%29>  in ro.sync.exml.workspace.api.editor.page.text.WSTextEditorPage<http://www.oxygenxml.com/InstData/Editor/Plugins/javadoc/ro/sync/exml/workspace/api/editor/page/text/WSTextEditorPage.html>

But I am not sure if either of these are the correct directions to go in.

How would I accomplish such a task?

________________________________

This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20121026/b597698e/attachment.html 


More information about the oXygen-user mailing list