WebSphere Commerce EnterpriseWebSphere Commerce Professional

Removing a menu action

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

  1. Create a plug-in to contain your customizations.
  2. 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>