java.lang.Object
javax.ide.Service
javax.ide.menu.ActionRegistry
- public class ActionRegistry
- extends javax.ide.Service
Action lookup service. Extensions use this class to lookup
IDEActions.
| Fields inherited from class javax.ide.Service |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionRegistry
public ActionRegistry()
findAction
public IDEAction findAction(java.lang.String id)
- Find the IDEAction identified by the given
id.
This implementation retrieves the action from the menu model and returns
it.
initialize
protected void initialize()
- Initialize the action registry.
This implementation does nothing. IDE implementations may override this
method to do additional work when the action registry is initialized.
getModel
protected final javax.ide.menu.spi.MenuModel getModel()
- Convenience method that obtains the menu model from the MenuHook.
getActionRegistry
public static ActionRegistry getActionRegistry()
- Get the ActionRegistry implementation for this IDE.