|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.ide.Service javax.ide.menu.ActionRegistry
public class ActionRegistry
Action lookup service. Extensions use this class to lookup
IDEAction
s.
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, resetAllServices |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionRegistry()
Method Detail |
---|
public IDEAction findAction(java.lang.String id)
IDEAction
identified by the given id
.This implementation retrieves the action from the menu model and returns it.
id
- A unique string name identifying the action. Standard
action identifiers are defined in the class {javax.ide.IDEConstants}.
null
otherwise.protected void initialize()
This implementation does nothing. IDE implementations may override this method to do additional work when the action registry is initialized.
initialize
in class Service
protected final javax.ide.menu.spi.MenuModel getModel()
public static ActionRegistry getActionRegistry()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |