|
Eclipse GEF 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gef.ui.actions.ActionRegistry
A container for editor actions. You must register the actions before they will be available to the editor.
| Constructor Summary | |
ActionRegistry()
|
|
| Method Summary | |
void |
dispose()
Calls dispose on all actions which implement the Disposable interface so they
can perform their own clean-up. |
IAction |
getAction(Object key)
Returns null or the IAction with the given key. |
Iterator |
getActions()
Returns an Iterator over all the actions. |
void |
registerAction(IAction action)
Register an action with this registry. |
void |
removeAction(IAction action)
Removes an action from this registry. |
| 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 void dispose()
Disposable interface so they
can perform their own clean-up.
public IAction getAction(Object key)
null or the IAction with the given key.
key - the ID of the action being requested
null or the action with the corresponding IDpublic Iterator getActions()
Iterator over all the actions.
public void registerAction(IAction action)
action - the action being registered.public void removeAction(IAction action)
action - the action to remove
|
Eclipse GEF 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||