Ignore:
Timestamp:
04/08/13 16:50:21 (11 years ago)
Author:
pharms
Message:
  • complete refactoring of task tree model with a separation of task models and task instances
File:
1 edited

Legend:

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

    r1040 r1152  
    2727import de.ugoe.cs.autoquest.eventcore.gui.TextInput; 
    2828import de.ugoe.cs.autoquest.tasktrees.treeifc.IEventTask; 
    29 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskTreeNode; 
     29import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; 
    3030 
    3131/** 
     
    4242    } 
    4343 
    44     public static Multiset<String> aggregateEnteredTextFromTextInputs(List<ITaskTreeNode> nodesWithTextInputEvents) 
     44    public static Multiset<String> aggregateEnteredTextFromTextInputs(List<ITask> tasksWithTextInputEvents) 
    4545    { 
    4646        List<Iterable<String>> allTextInputs = Lists.newArrayList(); 
    47         for (ITaskTreeNode nodeWithTextInput : nodesWithTextInputEvents) { 
    48             TextInput textInput = (TextInput) ((IEventTask) nodeWithTextInput).getEventType(); 
     47        for (ITask taskWithTextInput : tasksWithTextInputEvents) { 
     48            TextInput textInput = (TextInput) ((IEventTask) taskWithTextInput).getEventType(); 
    4949            allTextInputs.add(splitTextIntoWordsAndSigns(textInput.getEnteredText())); 
    5050        } 
Note: See TracChangeset for help on using the changeset viewer.