Changeset 160 for trunk/src/org/expeditee/actions/Misc.java
- Timestamp:
- 07/25/08 10:04:49 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/actions/Misc.java
r156 r160 90 90 if (current instanceof Text) { 91 91 List<String> actions = ((Text) current).getTextList(); 92 93 92 for (String action : actions) { 94 Actions.PerformAction(DisplayIO.getCurrentFrame(), current, 95 action); 93 if (!action.equalsIgnoreCase("runcurrentitem")) { 94 Actions.PerformAction(DisplayIO.getCurrentFrame(), current, 95 action); 96 } 96 97 } 97 98 } else { … … 666 667 Observer observer = new Observer() { 667 668 private String _attribute = ""; 669 668 670 public void update(Observable ob, Object o) { 669 _attribute = ((Variable) o).getName() + ": ";671 _attribute = ((Variable) o).getName() + ": "; 670 672 } 671 673 672 674 @Override 673 675 public String toString() { … … 684 686 } 685 687 } 686 688 687 689 myParser.getSymbolTable().addObserver(observer); 688 690 myParser.setAllowAssignment(true); 689 691 myParser.setAllowUndeclared(true); 690 692 691 693 // Do the calculation 692 694 Node node = myParser.parseExpression(text.getText());
Note:
See TracChangeset
for help on using the changeset viewer.