Bug 53571 IAction.setAccelerator(int) deprecated, any other method instead?
Hi, I only use SWT & JFACE(not RCP), and I want assign the accelerator keycode to the action. Is there another way to assign the accelerator keycode? Regards, Eric
bundles/org.eclipse.jface/src/org/eclipse/jface/action/IAction.java
/**
 * Returns the action definition id of this action.
 * 
 * @return the action definition id of this action, or
 * <code>null</code> if none
 * @since 2.0
 */
public String getActionDefinitionId();
/**
 * Returns the action's description if it has one.
 * Otherwise it returns <code>getToolTipText()</code>.
 */
public String getDescription();
/**
 * Returns the disabled image for this action as an image descriptor.
 * <p>
 * This method is associated with the <code>IMAGE</code> property;
 * property change events are reported when its value changes.
 * </p>
 *
 * @return the image, or <code>null</code> if this action has no image
 * @see #IMAGE
 */
public ImageDescriptor getDisabledImageDescriptor();
/**
 * Returns a help listener for this action. 
 *
 * @return a help listener for this action
 */
public HelpListener getHelpListener();