TwoWayEdit.AddChild Class
- public static class TwoWayEdit.AddChild
extends TwoWayEdit
A TwoWayEdit representing the addition of a child to a source element. This type should not be used directly.
ISourceElement.requestAddChild
should
be used to perform these two-way edit operations.
-
Hierarchy
-
Object
TwoWayEdit
TwoWayEdit.AddChild
-
Enclosing class
-
TwoWayEdit
protected int |
-
_index
- The index at which this child will be added
|
public boolean |
-
doEdit (IStructureFeature feature)
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_index
protected int _index
- The index at which this child will be added. -1 indicates that the child position should be determined by
the compiler.
TwoWayEdit.AddChild
public TwoWayEdit.AddChild(ISourceElement
elemParent,
ISourceElement
elemChild,
int index)
- Creates a new AddChild object.
TwoWayEdit.AddChild
public TwoWayEdit.AddChild(ISourceElement
elemParent,
ISourceElement
elemChild)
- Creates a new AddChild object.
doEdit(IStructureFeature) Method
public boolean doEdit(IStructureFeature
feature)
-
Overrides
-
TwoWayEdit.doEdit(IStructureFeature)
Parameters
-
feature
- The IStructureFeature for the document that owns the source elements to be affected by the
two-way edit.