Class NotificationManager

    • Constructor Detail

      • NotificationManager

        public NotificationManager()
    • Method Detail

      • addElementChangeListener

        public void addElementChangeListener​(IElementChangeListener listener,
                                             int eventMask)
        Adds the given element change listener for the specified event types. Has no effect if an identical listener is already registered for these event types.

        After completion of this method, the given listener will be registered for exactly the specified event types. If it was previously registered for other event types, it will be de-registered for those event types.

        Parameters:
        listener - the listener to add (not null)
        eventMask - the bit-wise OR of all event types of interest to the listener
        See Also:
        removeElementChangeListener(IElementChangeListener)
      • removeElementChangeListener

        public void removeElementChangeListener​(IElementChangeListener listener)
        Removes the given element change listener. Has no effect if an identical listener is not registered.
        Parameters:
        listener - the listener to remove (not null)