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
* <code>Boolean.TRUE</code> if running the action succeeded and 
	 * <code>Boolean.FALSE</code> if running the action failed or did not
	 * complete.
	 * <p>
	 * Not all actions report whether they succeed or fail. This property
	 * is provided for use by actions that may be invoked by clients that can
	 * take advantage of this information when present (for example, actions
	 * used in cheat sheets). Clients should always assume that running the
	 * action succeeded in the absence of notification to the contrary. 
	 * </p>
	 * 
	 * @since 3.0
	 */
	public static final String RESULT= "result"; 
/**
 * Adds a property change listener to this action.
 * Has no effect if an identical listener is already registered.
 *
 * @param listener a property change listener
 */
public void addPropertyChangeListener(IPropertyChangeListener listener);
/**
 * Returns the accelerator keycode for this action.
 * The result is the bit-wise OR of zero or more modifier masks
 * and a key, as explained in <code>MenuItem.getAccelerator</code>.
 *
 * @return the accelerator keycode
 * @see org.eclipse.swt.widgets.MenuItem#getAccelerator()
 */
public int getAccelerator();