Changeset 691 for trunk/quest-core-tasktrees/src/main/java/de/ugoe/cs/quest/tasktrees/treeimpl/TaskTreeBuilder.java
- Timestamp:
- 08/29/12 16:10:16 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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());
Note: See TracChangeset
for help on using the changeset viewer.