IDs for the oXygen right-click menu options
IDs for the oXygen right-click menu are listed in the Processing
[oxygenpopup]
section of the log.
For
example:
Processing [oxygenpopup]
&Paste special [type: org.eclipse.jface.action.MenuManager] .....:
&Table [type: org.eclipse.jface.action.MenuManager] .............:
The log also contains the type of the menu option. To remove a menu option,
enter its ID in a <removeditem>
element and
specify its type in the type
attribute.
For example, to remove the Paste special right-click option, enter its
ID and type in the eclipseui.xml file as
follows:
<section id="oxygenpopup">
<removeditem id="&Paste special" type="org.eclipse.jface.action.MenuManager"/>
...
To
remove a submenu option, enter its ID in a <removeditem>
element,
specify its type in the type
attribute, and specify its parent menu
using the menupath
attribute. For example, to remove the option, enter its ID and its parent menu ID in the
eclipseui.xml file as
follows:<section id="oxygenpopup">
<removeditem id="Author/insert.image" type="org.eclipse.jface.action.MenuManager" menupath="&Insert" />
...