Changeset 691 for trunk/quest-core-tasktrees/src/main
- Timestamp:
- 08/29/12 16:10:16 (12 years ago)
- 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 37 37 * TODO: comment 38 38 * 39 * @param sequence40 * @param task41 */42 void addChild(ITextInputEventTask parent, ITaskTreeNode child);43 44 /**45 * TODO: comment46 *47 39 * @param iteration 48 40 * @param newChild -
trunk/quest-core-tasktrees/src/main/java/de/ugoe/cs/quest/tasktrees/treeifc/ITaskTreeNodeFactory.java
r655 r691 34 34 * @return 35 35 */ 36 ITextInputEventTask createNewTextInputEventTask(IEventTarget eventTarget);37 38 /**39 * TODO: comment40 *41 * @return42 */43 36 IIteration createNewIteration(); 44 37 -
trunk/quest-core-tasktrees/src/main/java/de/ugoe/cs/quest/tasktrees/treeimpl/TaskTreeBuilder.java
r655 r691 6 6 import de.ugoe.cs.quest.tasktrees.treeifc.ITaskTreeBuilder; 7 7 import de.ugoe.cs.quest.tasktrees.treeifc.ITaskTreeNode; 8 import de.ugoe.cs.quest.tasktrees.treeifc.ITextInputEventTask;9 8 10 9 /** … … 54 53 public void addChild(ISelection parent, ITaskTreeNode child) { 55 54 if (!(parent instanceof Selection)) { 56 throw new IllegalArgumentException57 ("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 @Override70 public void addChild(ITextInputEventTask parent, ITaskTreeNode child) {71 if (!(parent instanceof TextInputEventTask)) {72 55 throw new IllegalArgumentException 73 56 ("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 10 10 import de.ugoe.cs.quest.tasktrees.treeifc.ITaskTreeNode; 11 11 import de.ugoe.cs.quest.tasktrees.treeifc.ITaskTreeNodeFactory; 12 import de.ugoe.cs.quest.tasktrees.treeifc.ITextInputEventTask;13 12 14 13 /** … … 38 37 public ISequence createNewSequence() { 39 38 return new Sequence(); 40 }41 42 /*43 * (non-Javadoc)44 *45 * @see de.ugoe.cs.tasktree.treeifc.TaskTreeNodeFactory#createNewTextInputEventTask(eventTarget)46 */47 @Override48 public ITextInputEventTask createNewTextInputEventTask(IEventTarget eventTarget) {49 return new TextInputEventTask(eventTarget);50 39 } 51 40
Note: See TracChangeset
for help on using the changeset viewer.