Changeset 679
- Timestamp:
- 08/29/12 09:48:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-tasktrees/src/main/java/de/ugoe/cs/quest/tasktrees/temporalrelation/DefaultMouseClickReductionRule.java
r655 r679 80 80 } 81 81 82 IEventTarget eventTarget = ((IEventTask) mouseButtonDown).getEventTarget();83 84 82 if (!(((IEventTask) mouseButtonDown).getEventType() instanceof MouseButtonDown)) { 85 83 return false; 86 84 } 87 88 MouseButtonInteraction.Button button =89 ((MouseButtonDown) ((IEventTask) mouseButtonDown).getEventType()).getButton();90 85 91 86 // check the second node for validity … … 93 88 return false; 94 89 } 90 91 IEventTarget eventTarget = ((IEventTask) mouseButtonDown).getEventTarget(); 95 92 96 93 if (!eventTarget.equals(((IEventTask) mouseButtonUp).getEventTarget())) { … … 101 98 return false; 102 99 } 100 101 MouseButtonInteraction.Button button = 102 ((MouseButtonDown) ((IEventTask) mouseButtonDown).getEventType()).getButton(); 103 103 104 104 if (!button.equals(((MouseButtonUp) ((IEventTask) mouseButtonUp).getEventType())
Note: See TracChangeset
for help on using the changeset viewer.