Interface ISymbol
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface com.sodius.mdw.metamodel.sa.io.app.IItem
delete, getAuditId, getEncyclopedia, getId, getName, getProperty, getPropertyListOf, getPropertyOneOf, getTypeMinor, getTypeName, setName, setProperty, setPropertyOneOf
-
-
-
-
Method Detail
-
getDefinition
IDefinition getDefinition()
Returns the definition this symbol is representing in a diagram.- Returns:
- the definition this symbol is representing in a diagram.
-
getDiagram
IDiagram getDiagram()
Returns the diagram on which the symbol has been created.- Returns:
- the diagram on which the symbol has been created.
-
isSelected
boolean isSelected()
Determines whether the symbol is highlighted on the diagram.- Returns:
true
if the symbol is highlighted on the diagram,false
otherwise.
-
setSelected
void setSelected(boolean selected)
Determines whether the symbol is highlighted on the diagram.- Parameters:
selected
- a boolean indicates whether the symbol should be selected in the diagram.
-
setConnectedFrom
void setConnectedFrom(ISymbol from)
Used to connect a symbol at the "from" end of the line.- Parameters:
from
- Any instantiated line symbol.
-
setConnectedTo
void setConnectedTo(ISymbol to)
Used to connect a symbol at the "to" end of the line.- Parameters:
to
- any instantiated line symbol.
-
-