Develop > Presentation layer > Customize IBM Sales Center > Accelerator keys
Remove a key binding
he default IBM Sales Center accelerator keys are defined by the org.eclipse.ui.commands extension point in the com.ibm.commerce.telesales.ui.impl plug-in. This section explains how to remove a key binding.
Procedure
- Declare a new key configuration using the org.eclipse.ui.commands extension point. The new key configuration must use com.ibm.commerce.telesales.ui.telesalesAcceleratorConfiguration as the parentId.
- Define a keyBinding element that removes the key binding by associating it with a blank commandId. Specify the ID of the new key configuration for the configurationId attribute. The following example removes the Ctrl+L hotkey:
<?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.0"?> <plugin> <extension point="com.ibm.commerce.telesales.configurator"> <configurator path="config"/> </extension> <extension point="org.eclipse.ui.commands"> <keyConfiguration name="Extended key configuration" description="extended key configuration" parentId="com.ibm.commerce.telesales.ui.telesalesAcceleratorConfiguration" id="extensions.extendedAcceleratorConfiguration"> </keyConfiguration> <keyBinding commandId="" keySequence="Ctrl+L" keyConfigurationId="extensions.extendedAcceleratorConfiguration"> </keyBinding> </extension> </plugin>
- Use the system configurator to replace com.ibm.commerce.telesales.ui.telesalesAcceleratorConfiguration with the new key configuration.
com.ibm.commerce.telesales.ui.telesalesAcceleratorConfiguration=extensions.extendedAcceleratorConfiguration
Related concepts
Related tasks