Interface IEventConsumer

  • public interface IEventConsumer
    Implementers can register with a text viewer and receive VerifyEvents before the text viewer they are registered with. If the event consumer marks events as processed by turning their doit field to false the text viewer subsequently ignores them.

    Clients may implement this interface.

    ITextViewerExtension2allows clients to manage the VerifyListeners of a text viewer. This makes IEventConsumer obsolete.

    See Also:
    ITextViewer, ITextViewerExtension2, VerifyEvent
    • Method Detail

      • processEvent

        void processEvent​(VerifyEvent event)
        Processes the given event and marks it as done if it should be ignored by subsequent receivers.
        event - the verify event which will be investigated