Modifier and Type | Method and Description |
---|---|
IDefinition |
getDefinition()
Returns the definition this symbol is representing in a diagram.
|
IDiagram |
getDiagram()
Returns the diagram on which the symbol has been created.
|
boolean |
isSelected()
Determines whether the symbol is highlighted on the diagram.
|
void |
setConnectedFrom(ISymbol from)
Used to connect a symbol at the "from" end of the line.
|
void |
setConnectedTo(ISymbol to)
Used to connect a symbol at the "to" end of the line.
|
void |
setSelected(boolean selected)
Determines whether the symbol is highlighted on the diagram.
|
delete, getAuditId, getEncyclopedia, getId, getName, getProperty, getPropertyListOf, getPropertyOneOf, getTypeMinor, getTypeName, setName, setProperty, setPropertyOneOf
IDefinition getDefinition()
IDiagram getDiagram()
boolean isSelected()
true
if the symbol is highlighted on the diagram, false
otherwise.void setSelected(boolean selected)
selected
- a boolean indicates whether the symbol should be selected in the diagram.void setConnectedFrom(ISymbol from)
from
- Any instantiated line symbol.void setConnectedTo(ISymbol to)
to
- any instantiated line symbol.