Ignore:
Timestamp:
04/04/13 16:25:49 (12 years ago)
Author:
pharms
Message:
  • make ui-core at least compilable
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-usability/src/main/java/de/ugoe/cs/autoquest/usability/UsabilityEvaluationManager.java

    r927 r1148  
    1919import java.util.logging.Level; 
    2020 
    21 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskTree; 
     21import de.ugoe.cs.autoquest.tasktrees.query.TaskTreeQueryProcessor; 
     22import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 
    2223import de.ugoe.cs.util.console.Console; 
    2324 
     
    5556     * @param taskTree 
    5657     */ 
    57     public UsabilityEvaluationResult evaluateUsability(ITaskTree taskTree) { 
     58    public UsabilityEvaluationResult evaluateUsability(ITaskModel taskTree) { 
    5859        Console.traceln(Level.INFO, "evaluating usability of task tree " + taskTree); 
    5960 
    6061        List<UsabilityEvaluationResult> results = new ArrayList<UsabilityEvaluationResult>(); 
     62        TaskTreeQueryProcessor queryProcessor = new TaskTreeQueryProcessor(taskTree); 
    6163 
    6264        for (UsabilityEvaluationRule rule : rules) { 
    6365            Console.traceln(Level.INFO, "applying rule " + rule.getClass().getSimpleName()); 
    64             UsabilityEvaluationResult result = rule.evaluate(taskTree); 
     66            UsabilityEvaluationResult result = rule.evaluate(queryProcessor); 
    6567            results.add(result); 
    6668            Console.traceln(Level.INFO, "the rule found " + result.getAllDefects().size() + 
Note: See TracChangeset for help on using the changeset viewer.