Changeset 1197


Ignore:
Timestamp:
11/28/18 15:32:42 (6 years ago)
Author:
bln4
Message:
 
Location:
trunk/src/org/expeditee/actions
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/actions/Actions.java

    r1195 r1197  
    406406         * @throws Exception
    407407         */
    408         public static Object LegacyPerformAction(final Frame source, final Item launcher,
     408        static Object LegacyPerformAction(final Frame source, final Item launcher,
    409409                        final String command) throws Exception {
    410410                MessageBay.displayMessage("Using Legacy code to execute action: " + command);
     
    496496       
    497497
    498         private static Object PerformAction(final Frame source, final Item launcher, final String command, final Item actionItem) throws Exception {
     498        static Object PerformAction(final Frame source, final Item launcher, final String command, final Item actionItem) throws Exception {
    499499                final String actionName = getName(command);
    500500                final String parameters = command.substring(actionName.length()).trim();
  • trunk/src/org/expeditee/actions/Misc.java

    r1142 r1197  
    216216                        for (String action : actions) {
    217217                                if (!action.equalsIgnoreCase("runitem")) {
    218                                         Actions.PerformAction(DisplayController.getCurrentFrame(), current,
     218                                        Actions.LegacyPerformAction(DisplayController.getCurrentFrame(), current,
    219219                                                        action);
    220220                                }
     
    12831283                }
    12841284               
    1285                 Actions.PerformAction(DisplayController.getCurrentFrame(), null, command);
     1285                Actions.PerformAction(DisplayController.getCurrentFrame(), null, command, null);
    12861286        }
    12871287       
     
    13011301                if(name == "action" || name == "agent") {
    13021302                        if(args.length() > 0) {
    1303                                 Actions.PerformAction(DisplayController.getCurrentFrame(), null, args);
     1303                                Actions.LegacyPerformAction(DisplayController.getCurrentFrame(), null, args);
    13041304                        } else {
    13051305                                MessageBay.displayMessage("Please specify an action/agent name");
  • trunk/src/org/expeditee/actions/Simple.java

    r1142 r1197  
    29892989
    29902990                Object returnValue = Actions.PerformAction(source, launcher, command
    2991                                 .toString());
     2991                                .toString(), null);
    29922992                if (returnValue != null) {
    29932993                        if (resultVarName != null) {
Note: See TracChangeset for help on using the changeset viewer.