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
* Sets the image for this action, as an image descriptor.
 * <p>
 * Fires a property change event for the <code>IMAGE</code> property
 * if the image actually changes as a consequence.
 * </p>
 *
 * @param newImage the image, or <code>null</code> if this 
 *   action should not have an image
 * @see #IMAGE
 */
public void setImageDescriptor(ImageDescriptor newImage);
/**
 * Sets the menu creator for this action. Applicable for style
 * <code>AS_DROP_DOWN_MENU</code>.
 *
 * @param creator the menu creator, or <code>null</code> if none
 */
public void setMenuCreator(IMenuCreator creator); 
/**
 * Sets the text for this action.
 * <p>
 * An accelerator specification may follow the actual text, separated from it by
 * an '@' or a '\t' character.  An accelerator specification consists of zero or more 
 * modifier tokens followed by a key code token.  The tokens are separated by a '+' character.
 * </p>
 * <p>
 * Fires a property change event for the <code>TEXT</code> property
 * if the text actually changes as a consequence.
 * </p>
 *