This section explains how to remove a menu item.
About this task
To remove a menu completely from the IBM Sales Center user
interface, you must use the default Eclipse activities extension point.
Activities are used by the Eclipse platform to filter certain plug-in
contributions from the users view. For more information about activities,
see the Eclipse platform documentation.
Procedure
- Create a plug-in to contain your customizations.
- To remove a menu item, create an Eclipse activity and then
never enable the activity.
The following extension declarations,
when added to the
plugin.xml file of your new
plug-in, remove the
quote
menu.
<extension point="org.eclipse.ui.activities">
<!-- Define an eclipse activity -->
<extension point="org.eclipse.ui.activities">
<activity id="activity.reset.menu" name="hideReset"/>
<activityPatternBinding activityId="activity.reset.menu"
pattern="com\.ibm\.commerce\.telesales\.ui\.impl/quote"/>
</extension>