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 static int AS_UNSPECIFIED = 0x00;
	/**
	 * Action style constant (value <code>1</code>) indicating action is 
	 * a simple push button.
	 */
	public static int AS_PUSH_BUTTON = 0x01;
	/**
	 * Action style constant (value <code>2</code>) indicating action is 
	 * a check box (or a toggle button).
	 */
	public static int AS_CHECK_BOX = 0x02;
	/**
	 * Action style constant (value <code>4</code>) indicating action is 
	 * a drop down menu.
	 */
	public static int AS_DROP_DOWN_MENU = 0x04;
	/**
	 * Action style constant (value <code>8</code>) indicating action is 
	 * a radio button.
	 * 
	 * @since 2.1
	 */
	public static int AS_RADIO_BUTTON = 0x08;
	/**
	 * Property name of an action's text (value <code>"text"</code>).
	 */
	public static final String TEXT= "text"; 
	
	
	/**