- Timestamp:
- 04/19/13 19:31:35 (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/UsagePatternVisitor.java
r1152 r1160 27 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ISelection; 28 28 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; 29 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask Model;29 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskVisitor; 30 30 import de.ugoe.cs.autoquest.usability.tasktree.filters.EventTypeFilter; 31 import de.ugoe.cs.autoquest.usability.util.PatternsVisitorUtil;32 31 33 32 /** … … 38 37 * @author Alexander Deicke 39 38 */ 40 public abstract class UsagePatternVisitor implements NodeVisitor {39 public abstract class UsagePatternVisitor implements ITaskVisitor { 41 40 42 41 protected EventTypeFilter eventType; … … 77 76 78 77 /* (non-Javadoc) 78 * @see de.ugoe.cs.autoquest.tasktrees.treeifc.TaskVisitor#accept(de.ugoe.cs.autoquest.tasktrees.treeifc.ITask) 79 */ 80 @Override 81 public void visit(ITask task) { 82 task.accept(this); 83 84 } 85 86 /* (non-Javadoc) 79 87 * @see de.ugoe.cs.autoquest.tasktrees.treeifc.NodeVisitor#visit(de.ugoe.cs.autoquest.tasktrees.treeifc.ISelection) 80 88 */ … … 84 92 this.present = patternIsPresent(); 85 93 } else { 86 ITaskModel taskModel = PatternsVisitorUtil.createTaskModelFromNode(selection); 87 this.present = containedPattern.containedIn(taskModel); 94 this.present = containedPattern.containedIn(selection); 88 95 } 89 96 }
Note: See TracChangeset
for help on using the changeset viewer.