public abstract class CompositePackagingElement<S> extends PackagingElement<S> implements RenameablePackagingElement
Modifier | Constructor and Description |
---|---|
protected |
CompositePackagingElement(PackagingElementType type) |
Modifier and Type | Method and Description |
---|---|
void |
addFirstChild(PackagingElement<?> child) |
<T extends PackagingElement<?>> |
addOrFindChild(T child) |
java.util.List<? extends PackagingElement<?>> |
addOrFindChildren(java.util.Collection<? extends PackagingElement<?>> children) |
boolean |
canBeRenamed() |
CompositePackagingElement<?> |
findCompositeChild(java.lang.String name) |
java.util.List<PackagingElement<?>> |
getChildren() |
PackagingElement<?> |
moveChild(int index,
int direction) |
void |
removeAllChildren() |
void |
removeChild(PackagingElement<?> child) |
void |
removeChildren(java.util.Collection<? extends PackagingElement<?>> children) |
createPresentation, getFilesKind, getType, isEqualTo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, rename
getState, initializeComponent, loadState, noStateLoaded
protected CompositePackagingElement(PackagingElementType type)
public <T extends PackagingElement<?>> T addOrFindChild(T child)
public void addFirstChild(PackagingElement<?> child)
public java.util.List<? extends PackagingElement<?>> addOrFindChildren(java.util.Collection<? extends PackagingElement<?>> children)
public PackagingElement<?> moveChild(int index, int direction)
public void removeChild(PackagingElement<?> child)
public void removeChildren(java.util.Collection<? extends PackagingElement<?>> children)
public java.util.List<PackagingElement<?>> getChildren()
public boolean canBeRenamed()
canBeRenamed
in interface RenameablePackagingElement
public void removeAllChildren()
public CompositePackagingElement<?> findCompositeChild(java.lang.String name)