Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.port80.eclipse.editors.util
Class RegionContentFormatter.NonDeletingPositionUpdater  view RegionContentFormatter.NonDeletingPositionUpdater download RegionContentFormatter.NonDeletingPositionUpdater.java

java.lang.Object
  extended byorg.eclipse.jface.text.DefaultPositionUpdater
      extended bycom.port80.eclipse.editors.util.RegionContentFormatter.NonDeletingPositionUpdater
All Implemented Interfaces:
org.eclipse.jface.text.IPositionUpdater
Enclosing class:
RegionContentFormatter

class RegionContentFormatter.NonDeletingPositionUpdater
extends org.eclipse.jface.text.DefaultPositionUpdater

The position updater used to adapt all to update the remembered partitions.


Field Summary
 
Fields inherited from class org.eclipse.jface.text.DefaultPositionUpdater
fDocument, fLength, fOffset, fOriginalPosition, fPosition, fReplaceLength
 
Constructor Summary
protected RegionContentFormatter.NonDeletingPositionUpdater(java.lang.String category)
           
 
Method Summary
protected  boolean notDeleted()
          Determines whether the currently investigated position has been deleted by the replace operation specified in the current event.
 
Methods inherited from class org.eclipse.jface.text.DefaultPositionUpdater
adaptToInsert, adaptToRemove, adaptToReplace, getCategory, isAffectingReplace, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegionContentFormatter.NonDeletingPositionUpdater

protected RegionContentFormatter.NonDeletingPositionUpdater(java.lang.String category)
Method Detail

notDeleted

protected boolean notDeleted()
Description copied from class: org.eclipse.jface.text.DefaultPositionUpdater
Determines whether the currently investigated position has been deleted by the replace operation specified in the current event. If so, it deletes the position and removes it from the document's position category.