Class SinkEvent

    • Constructor Detail

      • SinkEvent

        public SinkEvent​(GProp<?> source,
                         int eventID,
                         boolean isRemoteInduced)
        Constructs the generic sink event with specified originator without progress monitor.
        Parameters:
        source - The source object.
        eventID - The event ID, see GEvent.PROP_*.
        isRemoteInduced - Flag indicating this change is induced from a remote party.
        Throws:
        java.lang.NullPointerException - If source is null.
      • SinkEvent

        public SinkEvent​(GProp<?> source,
                         int eventID,
                         IPropProgressMonitor monitor)
        Constructs the generic event sink with specified originator that has a progress monitor and is not remote induced.
        Parameters:
        source - The source object.
        eventID - The event ID, see GEvent.PROP_*.
        monitor - The progress monitor, null for none.
        Throws:
        java.lang.NullPointerException - If souce is null.
    • Method Detail

      • getOperations

        public GEvent.Operation[] getOperations()
        Gets the Operations order describing what Operation the property that receives the event should process. This Operations order defines that the event will be sinking, i.e. sent from parent to children.

        The event Operations in order are: SELF, LISTENERS, CHILDREN.

        Specified by:
        getOperations in class GEvent
        Returns:
        The order of the Operations, per Event-implementing class dependent, normally a static final array.