Changeset 1164


Ignore:
Timestamp:
04/19/13 19:44:19 (12 years ago)
Author:
adeicke
Message:

Adjustments due to change from TaskTree? to TaskModel?.

File:
1 edited

Legend:

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

    r1152 r1164  
    2121import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; 
    2222import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 
     23import de.ugoe.cs.autoquest.tasktrees.treeifc.IUserSession; 
    2324import de.ugoe.cs.autoquest.tasktrees.treeimpl.TaskFactory; 
    2425 
     
    4445     * @return 
    4546     */ 
    46     public static ITaskModel createTaskModelFromNode(ITask task) { 
    47         return new TaskFactory().createTaskTree(task); 
     47    public static ITaskModel createTaskModelFromUserSessions(List<IUserSession> userSessions) { 
     48        return new TaskFactory().createTaskModel(userSessions); 
    4849    } 
    4950     
     
    5758     */ 
    5859    public static ITask firstNodeOf(List<ITask> tasks) { 
    59         return Iterables.getFirst(tasks, new NullNode()); 
     60        return Iterables.getFirst(tasks, new NullTask()); 
    6061    } 
    6162 
     
    6970     */ 
    7071    public static ITask lastNodeOf(List<ITask> tasks) { 
    71         return Iterables.getLast(tasks, new NullNode()); 
     72        return Iterables.getLast(tasks, new NullTask()); 
    7273    } 
    7374     
Note: See TracChangeset for help on using the changeset viewer.