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
Location:
trunk/quest-core-tasktrees/src/main/java/de/ugoe/cs/quest/tasktrees
Files:
2 deleted
4 edited

Legend:

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

    r655 r691  
    3737     * TODO: comment 
    3838     *  
    39      * @param sequence 
    40      * @param task 
    41      */ 
    42     void addChild(ITextInputEventTask parent, ITaskTreeNode child); 
    43  
    44     /** 
    45      * TODO: comment 
    46      *  
    4739     * @param iteration 
    4840     * @param newChild 
  • trunk/quest-core-tasktrees/src/main/java/de/ugoe/cs/quest/tasktrees/treeifc/ITaskTreeNodeFactory.java

    r655 r691  
    3434   * @return 
    3535   */ 
    36   ITextInputEventTask createNewTextInputEventTask(IEventTarget eventTarget); 
    37  
    38   /** 
    39    * TODO: comment 
    40    * 
    41    * @return 
    42    */ 
    4336  IIteration createNewIteration(); 
    4437 
  • 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()); 
  • trunk/quest-core-tasktrees/src/main/java/de/ugoe/cs/quest/tasktrees/treeimpl/TaskTreeNodeFactory.java

    r655 r691  
    1010import de.ugoe.cs.quest.tasktrees.treeifc.ITaskTreeNode; 
    1111import de.ugoe.cs.quest.tasktrees.treeifc.ITaskTreeNodeFactory; 
    12 import de.ugoe.cs.quest.tasktrees.treeifc.ITextInputEventTask; 
    1312 
    1413/** 
     
    3837    public ISequence createNewSequence() { 
    3938        return new Sequence(); 
    40     } 
    41  
    42     /* 
    43      * (non-Javadoc) 
    44      *  
    45      * @see de.ugoe.cs.tasktree.treeifc.TaskTreeNodeFactory#createNewTextInputEventTask(eventTarget) 
    46      */ 
    47     @Override 
    48     public ITextInputEventTask createNewTextInputEventTask(IEventTarget eventTarget) { 
    49         return new TextInputEventTask(eventTarget); 
    5039    } 
    5140 
Note: See TracChangeset for help on using the changeset viewer.