Eclipse Activities (defined through the org.eclipse.ui.activities extension) can be used to hide contributed menus and menu items.
By defining an activity, a menu or menu item is associated with the activity, and unless the activity is enabled, the menu or menu item is not displayed. To define the activity, you need to know the pattern that matches the wanted menu or menu items. A table listing the Expeditor contributed menus and menu items is provided in Lotus® Expeditor top-level menus section of Developing Applications for Lotus Expeditor.
For example, to hide the File > Application > Reset menu action, first locate the correct pattern in the table, then define an extension that includes the pattern:
<activity id="activity.reset.menu" name="hideReset"/>
You can use the same strategy to disable other menus and menu items in Lotus Expeditor by specifying the appropriate pattern for that element. For example to remove the File menu, use pattern="com\\.ibm\\.rcp\\.platform\\.personality/file"
. To obtain the appropriate IDs to use in the pattern, see IMenuConstants.java
in the User Interface and Personality Framework Javadoc.
Parent topic: Managing client configurations: XPD622