public interface IModelManipulationService
Modifier and Type | Method and Description |
---|---|
IElement |
clone(IElement element)
Clone the given element and attach it to the same parent.
|
List<IElement> |
copyTo(Collection<? extends IElement> elements,
IElement to)
Copy the given elements under another one.
|
void |
moveTo(Collection<? extends IElement> elements,
IElement to)
Move the given elements under another one.
|
IElement clone(IElement element)
element
- the element to cloneList<IElement> copyTo(Collection<? extends IElement> elements, IElement to)
elements
- The elements to copy.to
- The destination elementvoid moveTo(Collection<? extends IElement> elements, IElement to)
elements
- The elements to copy.to
- The destination element