public interface IGraphSelection extends ISelectionModel<IModelItem>
IGraph
instance.
This interface provides access to the ISelectionModel
instances that manage the selection of nodes, edges,
labels, ports, and bends. The generic methods that use IModelItem
parameters delegate to the corresponding
domain-specific selection models.
ISelectionModel
EMPTY
Modifier and Type | Method and Description |
---|---|
ISelectionModel<IBend> |
getSelectedBends()
An
ISelectionModel of the selected bends. |
ISelectionModel<IEdge> |
getSelectedEdges()
An
ISelectionModel of the selected edges. |
ISelectionModel<ILabel> |
getSelectedLabels()
An
ISelectionModel of the selected labels. |
ISelectionModel<INode> |
getSelectedNodes()
An
ISelectionModel of the selected nodes. |
ISelectionModel<IPort> |
getSelectedPorts()
An
ISelectionModel of the selected ports. |
addItemSelectionChangedListener, clear, isSelected, removeItemSelectionChangedListener, setSelected, size
concat, concat, create, create, enumerator, iterator, parallelStream, stream
forEach, spliterator
ISelectionModel<IBend> getSelectedBends()
ISelectionModel
of the selected bends.
This is the bend part of the selection that this instance is a composite of.
ISelectionModel<IEdge> getSelectedEdges()
ISelectionModel
of the selected edges.
This is the edge part of the selection that this instance is a composite of.
ISelectionModel<ILabel> getSelectedLabels()
ISelectionModel
of the selected labels.
This is the label part of the selection that this instance is a composite of.
ISelectionModel<INode> getSelectedNodes()
ISelectionModel
of the selected nodes.
This is the node part of the selection that this instance is a composite of.
ISelectionModel<IPort> getSelectedPorts()
ISelectionModel
of the selected ports.
This is the ports part of the selection that this instance is a composite of.