[1113] | 1 | // Copyright 2012 Georg-August-Universität Göttingen, Germany |
---|
| 2 | // |
---|
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
---|
| 4 | // you may not use this file except in compliance with the License. |
---|
| 5 | // You may obtain a copy of the License at |
---|
| 6 | // |
---|
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
---|
| 8 | // |
---|
| 9 | // Unless required by applicable law or agreed to in writing, software |
---|
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
---|
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
| 12 | // See the License for the specific language governing permissions and |
---|
| 13 | // limitations under the License. |
---|
| 14 | |
---|
[922] | 15 | package de.ugoe.cs.autoquest.tasktrees.treeifc; |
---|
[439] | 16 | |
---|
| 17 | /** |
---|
| 18 | * TODO comment |
---|
| 19 | * |
---|
| 20 | * @version $Revision: $ $Date: 21.02.2012$ |
---|
| 21 | * @author 2012, last modified by $Author: patrick$ |
---|
| 22 | */ |
---|
[557] | 23 | public interface ITaskTreeBuilder { |
---|
[439] | 24 | |
---|
[557] | 25 | /** |
---|
| 26 | * TODO: comment |
---|
| 27 | * |
---|
| 28 | * @param sequence |
---|
| 29 | * @param task |
---|
| 30 | */ |
---|
| 31 | void addChild(ISequence parent, ITaskTreeNode child); |
---|
[439] | 32 | |
---|
[557] | 33 | /** |
---|
| 34 | * TODO: comment |
---|
| 35 | * |
---|
| 36 | * @param parent |
---|
| 37 | * @param index |
---|
| 38 | * @param sequence |
---|
| 39 | */ |
---|
| 40 | void addChild(ISequence parent, int index, ITaskTreeNode child); |
---|
[439] | 41 | |
---|
[557] | 42 | /** |
---|
| 43 | * TODO: comment |
---|
| 44 | * |
---|
| 45 | * @param sequence |
---|
| 46 | * @param task |
---|
| 47 | */ |
---|
| 48 | void addChild(ISelection parent, ITaskTreeNode child); |
---|
[439] | 49 | |
---|
[557] | 50 | /** |
---|
| 51 | * TODO: comment |
---|
| 52 | * |
---|
| 53 | * @param iteration |
---|
| 54 | * @param newChild |
---|
| 55 | */ |
---|
| 56 | void setChild(IIteration iteration, ITaskTreeNode newChild); |
---|
[439] | 57 | |
---|
[557] | 58 | /** |
---|
| 59 | * TODO: comment |
---|
| 60 | * |
---|
| 61 | * @param parent |
---|
| 62 | * @param i |
---|
| 63 | */ |
---|
| 64 | void removeChild(ISequence parent, int index); |
---|
[439] | 65 | |
---|
[557] | 66 | /** |
---|
| 67 | * TODO: comment |
---|
| 68 | * |
---|
| 69 | * @param parent |
---|
| 70 | * @param i |
---|
| 71 | */ |
---|
| 72 | void removeChild(ISelection parent, ITaskTreeNode child); |
---|
[439] | 73 | |
---|
[557] | 74 | /** |
---|
| 75 | * TODO: comment |
---|
| 76 | * |
---|
| 77 | * @param parent |
---|
| 78 | * @param i |
---|
| 79 | */ |
---|
| 80 | void setDescription(ITaskTreeNode node, String description); |
---|
[439] | 81 | |
---|
| 82 | } |
---|