Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.menu
Class ActionRegistry  view ActionRegistry download ActionRegistry.java

java.lang.Object
  extended byjavax.ide.Service
      extended byjavax.ide.menu.ActionRegistry

public class ActionRegistry
extends javax.ide.Service

Action lookup service. Extensions use this class to lookup IDEActions.


Field Summary
 
Fields inherited from class javax.ide.Service
 
Constructor Summary
ActionRegistry()
           
 
Method Summary
 IDEAction findAction(java.lang.String id)
          Find the IDEAction identified by the given id.
static ActionRegistry getActionRegistry()
          Get the ActionRegistry implementation for this IDE.
protected  javax.ide.menu.spi.MenuModel getModel()
          Convenience method that obtains the menu model from the MenuHook.
protected  void initialize()
          Initialize the action registry.
 
Methods inherited from class javax.ide.Service
getService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionRegistry

public ActionRegistry()
Method Detail

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.