Changeset 1215 for trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeimpl/Selection.java
- Timestamp:
- 05/27/13 15:24:09 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeimpl/Selection.java
r1157 r1215 17 17 import de.ugoe.cs.autoquest.tasktrees.treeifc.ISelection; 18 18 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; 19 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskVisitor;20 19 21 20 /** 22 * TODO comment 23 * 24 * @version $Revision: $ $Date: 19.02.2012$ 25 * @author 2012, last modified by $Author: patrick$ 21 * <p> 22 * this is the default implementation of the interface {@link ISelection}. It does not do anything 23 * fancy except implementing the interface. 24 * </p> 25 * 26 * @author Patrick Harms 26 27 */ 27 28 class Selection extends StructuringTemporalRelationship implements ISelection { 28 29 29 /** */ 30 /** 31 * <p> 32 * default serial version UID 33 * </p> 34 */ 30 35 private static final long serialVersionUID = 1L; 31 36 32 37 /** 33 * TODO: comment 34 * 35 * @param name 38 * <p> 39 * simple constructor providing the base class with a human readable name of the type of this 40 * task 41 * </p> 36 42 */ 37 43 Selection() { … … 39 45 } 40 46 41 /* 42 * (non-Javadoc) 43 * 44 * @see java.lang.Object#clone() 47 /* (non-Javadoc) 48 * @see de.ugoe.cs.autoquest.tasktrees.treeimpl.StructuringTemporalRelationship#clone() 45 49 */ 46 50 @Override … … 49 53 } 50 54 51 /** 52 * <p> 53 * TODO: comment 54 * </p> 55 * 56 * @param i 57 * @param newChild 55 /* (non-Javadoc) 56 * @see de.ugoe.cs.autoquest.tasktrees.treeimpl.StructuringTemporalRelationship#addChild(ITask) 58 57 */ 59 public void addChild(ITask newChild) { 58 @Override 59 void addChild(ITask newChild) { 60 60 super.addChild(newChild); 61 61 super.setDescription("selection of " + newChild); 62 62 } 63 63 64 /** 65 * <p> 66 * TODO: comment 67 * </p> 68 * 69 * @param i 70 * @param newChild 64 /* (non-Javadoc) 65 * @see de.ugoe.cs.autoquest.tasktrees.treeimpl.StructuringTemporalRelationship#addChild(int,ITask) 71 66 */ 72 public void addChild(int index, ITask newChild) { 67 @Override 68 void addChild(int index, ITask newChild) { 73 69 super.addChild(index, newChild); 74 70 super.setDescription("selection of " + newChild); 75 71 } 76 72 77 /* (non-Javadoc)78 * @see de.ugoe.cs.autoquest.tasktrees.treeifc.ITemporalRelationship#accept(de.ugoe.cs.autoquest.tasktrees.treeifc.TaskVisitor)79 */80 @Override81 public void accept(ITaskVisitor visitor) {82 visitor.visit(this);83 }84 85 73 }
Note: See TracChangeset
for help on using the changeset viewer.