@OpenApiAll
public interface SymbolDrawListener
SymbolDrawNotification
.
The notification is received only if the symbol is drawn using diagram toolbar or smart symbol manipulator.
If symbol is created/drawn other way the listener is not notified.
Use DiagramListenerAdapter
to listen for all diagram related events.SymbolDrawNotification
,
DiagramListenerAdapter
Modifier and Type | Method and Description |
---|---|
void |
symbolAdded(com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement diagram,
com.nomagic.magicdraw.uml.symbols.PresentationElement symbol,
java.lang.String actionID)
Notification method.
|
void symbolAdded(com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement diagram, com.nomagic.magicdraw.uml.symbols.PresentationElement symbol, java.lang.String actionID)
diagram
- the diagram symbol added into.symbol
- added symbol.actionID
- id of action used for symbol adding(id of some toolbar action).