source: trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskTreeBuilder.java @ 1126

Last change on this file since 1126 was 1126, checked in by pharms, 11 years ago
  • extended task tree model with support for optionalities
  • improved performance of task tree handling
  • improved visualization of task trees
  • Property svn:executable set to *
File size: 2.0 KB
Line 
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
15package de.ugoe.cs.autoquest.tasktrees.treeifc;
16
17/**
18 * TODO comment
19 *
20 * @version $Revision: $ $Date: 21.02.2012$
21 * @author 2012, last modified by $Author: patrick$
22 */
23public interface ITaskTreeBuilder {
24
25    /**
26     *
27     */
28    void addChild(ISequence parent, ITaskTreeNode child);
29
30    /**
31     *
32     */
33    void addChild(ISequence parent, int index, ITaskTreeNode child);
34
35    /**
36     *
37     * @param parent
38     * @param i
39     */
40    void setChild(ISequence parent, int index, ITaskTreeNode child);
41
42    /**
43     * @param sequence
44     * @param task
45     */
46    void addChild(ISelection parent, ITaskTreeNode child);
47
48    /**
49     *
50     * @param iteration
51     * @param newChild
52     */
53    void setChild(IIteration iteration, ITaskTreeNode newChild);
54
55    /**
56     *
57     * @param optional
58     * @param newChild
59     */
60    void setChild(IOptional optional, ITaskTreeNode newChild);
61
62    /**
63     *
64     * @param parent
65     * @param i
66     */
67    void removeChild(ISequence parent, int index);
68
69    /**
70     *
71     * @param parent
72     * @param i
73     */
74    void removeChild(ISelection parent, ITaskTreeNode child);
75
76    /**
77     *
78     * @param parent
79     * @param i
80     */
81    void replaceChild(ISelection parent, ITaskTreeNode oldChild, ITaskTreeNode newChild);
82
83    /**
84     *
85     * @param parent
86     * @param i
87     */
88    void setDescription(ITaskTreeNode node, String description);
89
90}
Note: See TracBrowser for help on using the repository browser.