Browse Source

getAction was added to allow removal of JDK 1.3 feature

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268925 13f79535-47bb-0310-9956-ffa450edef68
master
nickdavis 24 years ago
parent
commit
ac7223c6e8
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      src/antidote/org/apache/tools/ant/gui/core/ActionManager.java

+ 10
- 0
src/antidote/org/apache/tools/ant/gui/core/ActionManager.java View File

@@ -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.
*


Loading…
Cancel
Save