Changeset 1159 for trunk/autoquest-core-usability-evaluation/src
- Timestamp:
- 04/19/13 19:30:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-usability-evaluation/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/UsagePattern.java
r1152 r1159 63 63 List<ITask> allConcernedTasks = filterAllConcernedTasksFrom(taskModel); 64 64 for(ITask concernedTask : allConcernedTasks) { 65 applyAllVisitors(concernedTask); 66 if(allVisitorsArePresent()) { 67 this.present = true; 68 break; 69 } else { 70 resetAllVisitors(); 71 } 72 65 checkTask(concernedTask); 66 if(this.present) break; 73 67 } 74 68 return this.present; 69 } 70 71 private void checkTask(ITask concernedTask) { 72 applyAllVisitors(concernedTask); 73 if(allVisitorsArePresent()) { 74 this.present = true; 75 } else { 76 resetAllVisitors(); 77 } 78 } 79 80 public boolean containedIn(ITask task) { 81 checkTask(task); 82 return this.present; 75 83 } 76 84
Note: See TracChangeset
for help on using the changeset viewer.