diff --git a/src/antidote/org/apache/tools/ant/gui/core/ActionManager.java b/src/antidote/org/apache/tools/ant/gui/core/ActionManager.java index 64fa94b36..0b245d55f 100644 --- a/src/antidote/org/apache/tools/ant/gui/core/ActionManager.java +++ b/src/antidote/org/apache/tools/ant/gui/core/ActionManager.java @@ -319,6 +319,16 @@ public class ActionManager { } + /** + * Get the Action with the given id. + * + * @param actionID Id of action to get command for. + * @return AntAction associated with the given id. + */ + public AntAction getAction(String actionID) { + return (AntAction) _actions.get(actionID); + } + /** * Add tool tip, Mnemonic, etc. *