Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.text
Interface IDocumentExtension2

All Known Implementing Classes:
AbstractDocument, ChildDocument, Document, ProjectionDocument

public interface IDocumentExtension2

Extension interface for IDocument.

It adds configuration methods to post notification replaces and document listener notification.

Since:
2.1

Method Summary
 void acceptPostNotificationReplaces ()
          Tells the receiver to accept calls to registerPostNotificationReplace until ignorePostNotificationReplaces is called.
 void ignorePostNotificationReplaces ()
          Tells the receiver to ignore calls to registerPostNotificationReplace until acceptPostNotificationReplaces is called.
 void resumeListenerNotification ()
          Resumes the notification of document listeners which must previously have been stopped by a call to stopListenerNotification.
 void stopListenerNotification ()
          Can be called prior to a replace operation.
 

Method Detail

ignorePostNotificationReplaces

void ignorePostNotificationReplaces()
Tells the receiver to ignore calls to registerPostNotificationReplace until acceptPostNotificationReplaces is called.


acceptPostNotificationReplaces

void acceptPostNotificationReplaces()
Tells the receiver to accept calls to registerPostNotificationReplace until ignorePostNotificationReplaces is called.


stopListenerNotification

void stopListenerNotification()
Can be called prior to a replace operation. After the replace resumeListenerNotification must be called. The affect of these calls is that no document listener is notified until resumeListenerNotification is called. This allows clients to update structure before any listener is informed about the change.

Listener notification can only be stopped for a single replace operation. Otherwise, document change notifications will be lost.


resumeListenerNotification

void resumeListenerNotification()
Resumes the notification of document listeners which must previously have been stopped by a call to stopListenerNotification.


Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire