Manages a collection of action sets. There are two instances of this class
in jEdit:
jEdit.getActionContext()
- editor actionsVFSBrowser.getActionContext()
- browser actions
- Since:
- jEdit 4.2pre1
- Version:
- $Id: ActionContext.java 21831 2012-06-18 22:54:17Z ezust $
- Author:
- Slava Pestov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the specified action.getActionSetForAction
(String action) Returns the action set that contains the specified action.Methods inherited from class org.gjt.sp.jedit.JEditActionContext
addActionSet, getActionNames, getActionSets, invokeAction, removeActionSet
-
Constructor Details
-
ActionContext
public ActionContext()
-
-
Method Details
-
getActionSetForAction
Returns the action set that contains the specified action. This method is still here for binary compatility- Overrides:
getActionSetForAction
in classJEditActionContext<EditAction,
ActionSet> - Parameters:
action
- The action- Returns:
- the actionSet that contains the given action
- Since:
- jEdit 4.2pre1
-
getAction
Returns the specified action.- Overrides:
getAction
in classJEditActionContext<EditAction,
ActionSet> - Parameters:
name
- The action name- Returns:
- a EditAction or null if it doesn't exist
- Since:
- jEdit 4.2pre1
-