Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


javax.ide.menu
Class ActionRegistry

java.lang.Object
  extended by javax.ide.Service
      extended by javax.ide.menu.ActionRegistry


public class ActionRegistry
extends Service

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


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.
 void initAfterAddinsLoad()
           
 void initAfterMainWindowOpened()
           
protected  void initialize()
          Initialize the action registry.

 

Methods inherited from class javax.ide.Service
getService, resetAllServices

 

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.

Parameters:
id - A unique string name identifying the action. Standard action identifiers are defined in the class {javax.ide.IDEConstants}.
Returns:
An existing action if one is found, null otherwise.

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.

Overrides:
initialize in class Service

getModel

protected final javax.ide.menu.spi.MenuModel getModel()
Convenience method that obtains the menu model from the MenuHook.
Returns:
the menu model.

getActionRegistry

public static ActionRegistry getActionRegistry()
Get the ActionRegistry implementation for this IDE.
Returns:
the ActionRegistry implementation for this IDE.

initAfterMainWindowOpened

public void initAfterMainWindowOpened()

initAfterAddinsLoad

public void initAfterAddinsLoad()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.