Changeset 133 for trunk/src/org/expeditee/actions/Actions.java
- Timestamp:
- 07/10/08 15:50:20 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/actions/Actions.java
r121 r133 325 325 // if this is not the name of a method, it may be the name of an agent 326 326 if (toRun == null) { 327 LaunchAgent(mname, command, source );327 LaunchAgent(mname, command, source, launcher); 328 328 return; 329 329 } … … 382 382 * The starting Frame that the JAG is being launched on 383 383 */ 384 private static void LaunchAgent(String name, String parameters, Frame source ) {384 private static void LaunchAgent(String name, String parameters, Frame source, Item clicked) { 385 385 // Use the correct case version for printing error messages 386 386 String nameWithCorrectCase = name; … … 444 444 445 445 // check for errors during initialisation 446 if (!_Agent.initialise(source )) {446 if (!_Agent.initialise(source, clicked)) { 447 447 MessageBay.errorMessage("Error initialising agent: " 448 448 + nameWithCorrectCase); 449 449 return; 450 450 } 451 452 _Agent.setStartFrame(source);453 451 454 452 t.start();
Note:
See TracChangeset
for help on using the changeset viewer.