File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
model-api/src/commonMain/kotlin/org/modelix/model/api Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -69,10 +69,11 @@ interface INode {
69
69
val allChildren: Iterable <INode >
70
70
71
71
/* *
72
- * Moves a child node to the given role and index.
72
+ * Moves a node to this node's children with the given role and index.
73
+ * The child node can originate from a different parent.
73
74
*
74
75
* @param role target role
75
- * @param index target index
76
+ * @param index target index within the role
76
77
* @param child child node to be moved
77
78
*/
78
79
fun moveChild (role : String? , index : Int , child : INode )
@@ -97,7 +98,7 @@ interface INode {
97
98
* Creates and adds a new child node to this node at the specified index.
98
99
*
99
100
* @param role role, where the node should be added
100
- * @param index index, where the node should be added
101
+ * @param index index within the role , where the node should be added
101
102
* @param concept reference to a concept, of which the new node is instance of
102
103
* @return new child node
103
104
*/
You can’t perform that action at this time.
0 commit comments