public interface NodeGroupList extends PropFeatureList<NodeGroup>, IListMove
Modifier and Type | Method and Description |
---|---|
void |
clear()
Remove all groups in the list.
|
NodeGroup |
copy(java.lang.String newTag,
java.lang.String tag,
java.lang.String context)
Creates a copy of an entity, inserts it in this list and assigns it to
the given model node.
|
NodeGroup |
create(java.lang.String tag,
java.lang.String type)
Create a node group.
|
NodeGroup |
create(java.lang.String tag,
java.lang.String type,
java.lang.String context)
Create a node group.
|
NodeGroup |
duplicate(java.lang.String newTag,
java.lang.String tag)
Creates a new group with tag
newTag which is a
duplicate of the group tagged tag . |
void |
remove(java.lang.String tag)
Removes a group and its members from the model.
|
void |
ungroup(java.lang.String tag)
Removes a group but not its members.
|
void |
ungroupAll()
Remove all groups in the list.
|
copy, copyTo, duplicateTo, get, index, size, tags, uniquetag
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
getContainer, getDisplayString
void clear()
clear
in interface ModelEntityList<NodeGroup>
NodeGroup copy(java.lang.String newTag, java.lang.String tag, java.lang.String context)
tag1/tag2/tag3
' etc.copy
in interface ModelEntityList<NodeGroup>
newTag
- The tag of the new entity.tag
- Tag of the entity to copy.context
- A tag of a model entity defining the context.NodeGroup create(java.lang.String tag, java.lang.String type)
create
in interface PropFeatureList<NodeGroup>
tag
- Group tag.type
- Group type.NodeGroup create(java.lang.String tag, java.lang.String type, java.lang.String context)
tag
- Group tag.type
- Group type.context
- A tag of a model entity defining the context.NodeGroup duplicate(java.lang.String newTag, java.lang.String tag)
newTag
which is a
duplicate of the group tagged tag
. The group
members are also duplicated.duplicate
in interface ModelEntityList<NodeGroup>
newTag
- Tag of the new group.tag
- Tag of group to duplicate.void remove(java.lang.String tag)
remove
in interface ModelEntityList<NodeGroup>
tag
- Tag of group to remove.void ungroup(java.lang.String tag)
tag
- Tag of group to remove.void ungroupAll()