Changeset 971 for trunk/autoquest-core-tasktrees/src/main
- Timestamp:
- 11/08/12 19:55:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/TrackBarSelectionDetectionRule.java
r922 r971 51 51 52 52 int valueSelectionStartIndex = -1; 53 ITrackBar currentTrackBar = null; 53 54 54 55 int index = 0; … … 58 59 if ((child instanceof IEventTask) && 59 60 (((IEventTask) child).getEventTarget() instanceof ITrackBar) && 60 (((IEventTask) child).getEventType() instanceof ValueSelection)) 61 (((IEventTask) child).getEventType() instanceof ValueSelection) && 62 ((currentTrackBar == null) || 63 (currentTrackBar.equals((((IEventTask) child).getEventTarget()))))) 61 64 { 62 65 if (valueSelectionStartIndex < 0) { 63 66 // let the show begin 64 67 valueSelectionStartIndex = index; 68 currentTrackBar = (ITrackBar) ((IEventTask) child).getEventTarget(); 65 69 } 66 70 } … … 105 109 { 106 110 IIteration iteration = nodeFactory.createNewIteration(); 111 //builder.setDescription(iteration, "value selection on " + ) 107 112 result.addNewlyCreatedParentNode(iteration); 108 113
Note: See TracChangeset
for help on using the changeset viewer.