|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gjt.sp.jedit.ActionContext
Manages a collection of action sets. There are two instances of this class in jEdit:
jEdit.getActionContext() - editor actions
VFSBrowser.getActionContext() - browser
actions
| Constructor Summary | |
ActionContext()
|
|
| Method Summary | |
void |
addActionSet(ActionSet actionSet)
Adds a new action set to the context. |
EditAction |
getAction(java.lang.String name)
Returns the specified action. |
java.lang.String[] |
getActionNames()
Returns all registered action names. |
ActionSet |
getActionSetForAction(java.lang.String action)
Returns the action set that contains the specified action. |
ActionSet[] |
getActionSets()
Returns all registered action sets. |
abstract void |
invokeAction(java.util.EventObject evt,
EditAction action)
Invokes the given action in response to a user-generated event. |
void |
removeActionSet(ActionSet actionSet)
Removes an action set from the context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ActionContext()
| Method Detail |
public abstract void invokeAction(java.util.EventObject evt,
EditAction action)
evt - The eventaction - The actionpublic void addActionSet(ActionSet actionSet)
public void removeActionSet(ActionSet actionSet)
public ActionSet[] getActionSets()
public EditAction getAction(java.lang.String name)
name - The action namepublic ActionSet getActionSetForAction(java.lang.String action)
action - The actionpublic java.lang.String[] getActionNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||