Ignore:
Timestamp:
08/29/12 16:10:16 (12 years ago)
Author:
pharms
Message:
  • moved text input detection from task tree generation to dedicated command to be run on sequences
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-core-tasktrees/src/main/java/de/ugoe/cs/quest/tasktrees/treeimpl/TaskTreeBuilder.java

    r655 r691  
    66import de.ugoe.cs.quest.tasktrees.treeifc.ITaskTreeBuilder; 
    77import de.ugoe.cs.quest.tasktrees.treeifc.ITaskTreeNode; 
    8 import de.ugoe.cs.quest.tasktrees.treeifc.ITextInputEventTask; 
    98 
    109/** 
     
    5453    public void addChild(ISelection parent, ITaskTreeNode child) { 
    5554        if (!(parent instanceof Selection)) { 
    56             throw new IllegalArgumentException 
    57                 ("illegal type of task tree node provided: " + parent.getClass()); 
    58         } 
    59  
    60         addChildInternal(parent, -1, child); 
    61     } 
    62  
    63     /* 
    64      * (non-Javadoc) 
    65      *  
    66      * @see de.ugoe.cs.tasktree.treeifc.TaskTreeBuilder#addChild(de.ugoe.cs.tasktree.treeifc. 
    67      * TextInputEventTask, de.ugoe.cs.tasktree.treeifc.TaskTreeNode) 
    68      */ 
    69     @Override 
    70     public void addChild(ITextInputEventTask parent, ITaskTreeNode child) { 
    71         if (!(parent instanceof TextInputEventTask)) { 
    7255            throw new IllegalArgumentException 
    7356                ("illegal type of task tree node provided: " + parent.getClass()); 
Note: See TracChangeset for help on using the changeset viewer.