| |
|
| org.eclipse.ui.internal.ide.actions.QuickMenuAction
QuickMenuAction | abstract public class QuickMenuAction extends Action (Code) | | A quick menu actions provides support to assign short cuts
to sub menus.
since: 3.0 |
Constructor Summary | |
public | QuickMenuAction(String commandId) Creates a new quick menu action with the given command id. |
Method Summary | |
public void | dispose() Dispose of this menu action. | abstract protected void | fillMenu(IMenuManager menu) Hook to fill a menu manager with the items of the sub menu. | public String | getShortCutString() Returns the short cut assigned to the sub menu or null if
no short cut is assigned. | public void | run() |
QuickMenuAction | public QuickMenuAction(String commandId)(Code) | | Creates a new quick menu action with the given command id.
Parameters: commandId - the command id of the short cut used to openthe sub menu |
dispose | public void dispose()(Code) | | Dispose of this menu action.
|
fillMenu | abstract protected void fillMenu(IMenuManager menu)(Code) | | Hook to fill a menu manager with the items of the sub menu.
Parameters: menu - the sub menu to fill |
getShortCutString | public String getShortCutString()(Code) | | Returns the short cut assigned to the sub menu or null if
no short cut is assigned.
the short cut as a human readable string or null |
|
|
|