- Timestamp:
- 05/27/13 14:53:38 (12 years ago)
- Location:
- trunk/autoquest-core-usability-evaluation/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-usability-evaluation/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/ContainsEventVisitor.java
r1204 r1213 18 18 19 19 import de.ugoe.cs.autoquest.tasktrees.treeifc.IIteration; 20 import de.ugoe.cs.autoquest.tasktrees.treeifc.IOptional; 20 21 import de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence; 21 22 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; … … 53 54 54 55 /* (non-Javadoc) 56 * @see de.ugoe.cs.autoquest.tasktrees.treeifc.TaskVisitor#visit(de.ugoe.cs.autoquest.tasktrees.treeifc.IOptional) 57 */ 58 public void visit(IOptional optional) { 59 checkTaskAndReturnIfPatternIsPresent(optional.getMarkedTask()); 60 } 61 62 /* (non-Javadoc) 55 63 * @see de.ugoe.cs.autoquest.tasktrees.treeifc.NodeVisitor#visit(de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence) 56 64 */ -
trunk/autoquest-core-usability-evaluation/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/ContainsInteractionPatternVisitor.java
r1204 r1213 17 17 import de.ugoe.cs.autoquest.tasktrees.treeifc.IEventTask; 18 18 import de.ugoe.cs.autoquest.tasktrees.treeifc.IIteration; 19 import de.ugoe.cs.autoquest.tasktrees.treeifc.IOptional; 19 20 import de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence; 20 21 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; … … 52 53 53 54 /* (non-Javadoc) 55 * @see de.ugoe.cs.autoquest.tasktrees.treeifc.TaskVisitor#visit(de.ugoe.cs.autoquest.tasktrees.treeifc.IOptional) 56 */ 57 public void visit(IOptional optional) { 58 checkTaskAndReturnIfPatternIsPresent(optional.getMarkedTask()); 59 } 60 61 /* (non-Javadoc) 54 62 * @see de.ugoe.cs.autoquest.tasktrees.treeifc.NodeVisitor#visit(de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence) 55 63 */ -
trunk/autoquest-core-usability-evaluation/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/EndsWithEventVisitor.java
r1204 r1213 16 16 17 17 import de.ugoe.cs.autoquest.tasktrees.treeifc.IIteration; 18 import de.ugoe.cs.autoquest.tasktrees.treeifc.IOptional; 18 19 import de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence; 19 20 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternVisitor; … … 51 52 52 53 /* (non-Javadoc) 54 * @see de.ugoe.cs.autoquest.tasktrees.treeifc.TaskVisitor#visit(de.ugoe.cs.autoquest.tasktrees.treeifc.IOptional) 55 */ 56 public void visit(IOptional optional) { 57 optional.getMarkedTask().accept(this); 58 } 59 60 /* (non-Javadoc) 53 61 * @see de.ugoe.cs.autoquest.tasktrees.treeifc.NodeVisitor#visit(de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence) 54 62 */ -
trunk/autoquest-core-usability-evaluation/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/EndsWithInteractionPatternVisitor.java
r1204 r1213 17 17 import de.ugoe.cs.autoquest.tasktrees.treeifc.IEventTask; 18 18 import de.ugoe.cs.autoquest.tasktrees.treeifc.IIteration; 19 import de.ugoe.cs.autoquest.tasktrees.treeifc.IOptional; 19 20 import de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence; 20 21 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; … … 53 54 54 55 /* (non-Javadoc) 56 * @see de.ugoe.cs.autoquest.tasktrees.treeifc.TaskVisitor#visit(de.ugoe.cs.autoquest.tasktrees.treeifc.IOptional) 57 */ 58 public void visit(IOptional optional) { 59 this.present = containedPattern.containedIn(optional); 60 } 61 62 /* (non-Javadoc) 55 63 * @see de.ugoe.cs.autoquest.tasktrees.treeifc.NodeVisitor#visit(de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence) 56 64 */ -
trunk/autoquest-core-usability-evaluation/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/StartsWithEventVisitor.java
r1204 r1213 16 16 17 17 import de.ugoe.cs.autoquest.tasktrees.treeifc.IIteration; 18 import de.ugoe.cs.autoquest.tasktrees.treeifc.IOptional; 18 19 import de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence; 19 20 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternVisitor; … … 51 52 52 53 /* (non-Javadoc) 54 * @see de.ugoe.cs.autoquest.tasktrees.treeifc.TaskVisitor#visit(de.ugoe.cs.autoquest.tasktrees.treeifc.IOptional) 55 */ 56 public void visit(IOptional optional) { 57 optional.getMarkedTask().accept(this); 58 } 59 60 /* (non-Javadoc) 53 61 * @see de.ugoe.cs.autoquest.tasktrees.treeifc.NodeVisitor#visit(de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence) 54 62 */ -
trunk/autoquest-core-usability-evaluation/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/StartsWithInteractionPatternVisitor.java
r1204 r1213 17 17 import de.ugoe.cs.autoquest.tasktrees.treeifc.IEventTask; 18 18 import de.ugoe.cs.autoquest.tasktrees.treeifc.IIteration; 19 import de.ugoe.cs.autoquest.tasktrees.treeifc.IOptional; 19 20 import de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence; 20 21 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; … … 53 54 54 55 /* (non-Javadoc) 56 * @see de.ugoe.cs.autoquest.tasktrees.treeifc.TaskVisitor#visit(de.ugoe.cs.autoquest.tasktrees.treeifc.IOptional) 57 */ 58 public void visit(IOptional optional) { 59 this.present = containedPattern.containedIn(optional); 60 } 61 62 /* (non-Javadoc) 55 63 * @see de.ugoe.cs.autoquest.tasktrees.treeifc.NodeVisitor#visit(de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence) 56 64 */
Note: See TracChangeset
for help on using the changeset viewer.