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 void setActionDefinitionId(String id);
/**
 * Sets the checked status of this action. Applicable for the styles
 * <code>AS_CHECK_BOX</code> or <code>AS_RADIO_BUTTON</code>.
 * <p>
 * Fires a property change event for the <code>CHECKED</code> property
 * if the checked status actually changes as a consequence.
 * </p>
 *
 * @param checked the new checked status
 * @see #CHECKED
 */
public void setChecked(boolean checked);
/**
 * Sets this action's description.
 * Typically the description is shown as a (longer) help text in the status line.
 * <p>
 * Fires a property change event for the <code>DESCRIPTION</code> property
 * if the description actually changes as a consequence.
 * </p>
 *
 * @param text the description, or <code>null</code> to clear the description
 * @see #DESCRIPTION
 */
public void setDescription(String text);
/**
 * Sets the disabled image for this action, as an image descriptor.
 * <p>
 * Disabled images will be used on platforms that support changing the image