Class SymbolDrawNotification


  • @OpenApi
    public final class SymbolDrawNotification
    extends java.lang.Object
    A manager for registering SymbolDrawListener. These listeners are notified when some symbol is drawn in diagram.
    See Also:
    SymbolDrawListener
    • Method Detail

      • addSymbolDrawListener

        @OpenApi
        public void addSymbolDrawListener​(SymbolDrawListener listener)
        Registers listener for symbols adding during draw operation.
        Parameters:
        listener - the listener to register.
      • removeSymbolDrawListener

        @OpenApi
        public void removeSymbolDrawListener​(SymbolDrawListener listener)
        Unregisters listener for symbols adding during draw operation.
        Parameters:
        listener - the listener to unregister.
      • getSymbolDrawNotification

        @OpenApi
        public static SymbolDrawNotification getSymbolDrawNotification​(Project project)
        Returns a shared instance of this manager for given project. Every project has its own notification manager.
        Parameters:
        project - project to get manager for.
        Returns:
        manager.