com.bbn.swede.editor
Interface IDelayedDocumentEventListener

All Known Implementing Classes:
OWLDocumentPartitioner.OASTUpdater

public interface IDelayedDocumentEventListener

A listener that handles composite document events in the OWL source editor. Document events are aggregated by the OWLDelayedSyntaxChecker until either a certain amount of time passes without another event coming in or an event comes in that is not adjacent to the one already being compiled. At that point, the composite event is sent out to all registered implementers of IDelayedDocumentEventListener for handling.

Author:
jlerner
See Also:
OWLDelayedSyntaxChecker.addDelayedDocumentEventListener(IDelayedDocumentEventListener)

Method Summary
 void handleEvent(DocumentEvent e)
          Performs custom handling of a composite document event.
 

Method Detail

handleEvent

public void handleEvent(DocumentEvent e)
Performs custom handling of a composite document event. Composite events are built and distributed by the OWL delayed syntax checker.

Parameters:
e - The composite event to be handled. As with regular document events, it may be a deletion, an insertion, or a combination of the two.


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.