Eclipse Platform
2.0

org.eclipse.jface.text
Interface IDocumentAdapterExtension


public interface IDocumentAdapterExtension

Extension interface for IDocumentAdapter. Introduces the concepts of batching a series of document changes into one styled text content change. Batching start when a client calls stopForwardingDocumentChanges. After that call this document adapter does not send out any styled text content change until resumeForwardingDocumentChanges is called. Then, it sends out one styled text content change that covers all changes that have been applied to the document since calling stopForwardingDocumentChanges.

Since:
2.0

Method Summary
 void resumeForwardingDocumentChanges()
          Resumes forwarding document changes to the styled text.
 void stopForwardingDocumentChanges()
          Stops forwarding document changes to the styled text.
 

Method Detail

stopForwardingDocumentChanges

public void stopForwardingDocumentChanges()
Stops forwarding document changes to the styled text.


resumeForwardingDocumentChanges

public void resumeForwardingDocumentChanges()
Resumes forwarding document changes to the styled text. Also forces the styled text to catch up with all the changes that have been applied since stopTranslatingDocumentChanges has been called.


Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.