Ignore:
Timestamp:
04/04/13 16:06:07 (12 years ago)
Author:
pharms
Message:
  • complete refactoring of task tree model with a separation of task models and task instances
  • appropriate adaptation of task tree generation process
  • appropriate adaptation of commands and task tree visualization
Location:
trunk/autoquest-ui-core/src/main/java/de/ugoe/cs/autoquest/commands/usability
Files:
2 edited

Legend:

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

    r927 r1146  
    1818 
    1919import de.ugoe.cs.autoquest.CommandHelpers; 
    20 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskTree; 
     20import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 
    2121import de.ugoe.cs.autoquest.usability.UsabilityEvaluationManager; 
    2222import de.ugoe.cs.autoquest.usability.UsabilityEvaluationResult; 
     
    7373            return; 
    7474        } 
    75         if (!(dataObject instanceof ITaskTree)) { 
     75        if (!(dataObject instanceof ITaskModel)) { 
    7676            CommandHelpers.objectNotType(tasktreeName, "ITaskTree"); 
    7777            return; 
    7878        } 
    7979 
    80         ITaskTree taskTree = (ITaskTree) dataObject; 
     80        ITaskModel taskTree = (ITaskModel) dataObject; 
    8181         
    8282        UsabilityEvaluationResult result = 
  • trunk/autoquest-ui-core/src/main/java/de/ugoe/cs/autoquest/commands/usability/CMDgenerateTaskTree.java

    r927 r1146  
    2222import de.ugoe.cs.autoquest.eventcore.Event; 
    2323import de.ugoe.cs.autoquest.tasktrees.manager.TaskTreeManager; 
    24 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskTree; 
     24import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 
    2525import de.ugoe.cs.util.console.Command; 
    2626import de.ugoe.cs.util.console.GlobalDataContainer; 
     
    8484        sequences = (Collection<List<Event>>) dataObject; 
    8585         
    86         ITaskTree taskTree = new TaskTreeManager().createTaskTree(sequences); 
     86        ITaskModel taskModel = new TaskTreeManager().createTaskModel(sequences); 
    8787         
    88         if (GlobalDataContainer.getInstance().addData(tasktreeName, taskTree)) { 
     88        if (GlobalDataContainer.getInstance().addData(tasktreeName, taskModel)) { 
    8989            CommandHelpers.dataOverwritten(sequencesName); 
    9090        } 
Note: See TracChangeset for help on using the changeset viewer.