@OpenApi
public final class SymbolDrawNotification
extends java.lang.Object
SymbolDrawListener
. These listeners are notified when some symbol is drawn in diagram.SymbolDrawListener
Modifier and Type | Method and Description |
---|---|
void |
addSymbolDrawListener(SymbolDrawListener listener)
Registers listener for symbols adding during draw operation.
|
static SymbolDrawNotification |
getSymbolDrawNotification(Project project)
Returns a shared instance of this manager for given project.
|
void |
removeSymbolDrawListener(SymbolDrawListener listener)
Unregisters listener for symbols adding during draw operation.
|
@OpenApi public void addSymbolDrawListener(SymbolDrawListener listener)
listener
- the listener to register.@OpenApi public void removeSymbolDrawListener(SymbolDrawListener listener)
listener
- the listener to unregister.@OpenApi public static SymbolDrawNotification getSymbolDrawNotification(Project project)
project
- project to get manager for.