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
public ImageDescriptor getImageDescriptor();
/**
 * Returns the menu creator for this action.
 *
 * @return the menu creator, or <code>null</code> if none
 */
public IMenuCreator getMenuCreator();
/**
 * Return this action's style.
 *
 * @return one of <code>AS_PUSH_BUTTON</code>, <code>AS_CHECK_BOX</code>,
 * <code>AS_RADIO_BUTTON</code> and <code>AS_DROP_DOWN_MENU</code>.
 */
public int getStyle();
/**
 * Returns the text for this action.
 * <p>
 * This method is associated with the <code>TEXT</code> property;
 * property change events are reported when its value changes.
 * </p>
 *
 * @return the text, or <code>null</code> if none
 * @see #TEXT
 */
public String getText();
/**
 * Returns the tool tip text for this action.
 * <p>
 * This method is associated with the <code>TOOL_TIP_TEXT</code> property;
 * property change events are reported when its value changes.