IDs used for Oxygen menu item removal
You can remove right-click menu items for authoring in Oxygen by using the related IDs in the trace log.
IDs for the Oxygen right-click menu
are listed in the
Processing [oxygenpopup]
section of
the trace
log.Processing [oxygenpopup]
&Paste special [type: org.eclipse.jface.action.MenuManager] .....:
&Table [type: org.eclipse.jface.action.MenuManager] .............:
The trace log also contains the type of 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" />
...