Eclipse Platform
Release 3.1

org.eclipse.jface.text
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 Summary
 void processEvent(VerifyEvent event)
          Processes the given event and marks it as done if it should be ignored by subsequent receivers.
 

Method Detail

processEvent

public void processEvent(VerifyEvent event)
Processes the given event and marks it as done if it should be ignored by subsequent receivers.

Parameters:
event - the verify event which will be investigated

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.