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 hover image for this action as an image descriptor.
 * <p>
 * Hover images will be used on platforms that support changing the image
 * when the user hovers over the item. 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 getHoverImageDescriptor();
/**
 * Returns a unique identifier for this action, or <code>null</code> if it has
 * none.
 *
 * @return the action id, or <code>null</code> if none
 */
public String getId();
/**
 * Returns the 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
 */