Class DocumentAdapter

java.lang.Object
org.eclipse.jface.text.AbstractDocument
org.eclipse.jface.text.Document
org.aspectj.org.eclipse.jdt.internal.core.DocumentAdapter
All Implemented Interfaces:
org.eclipse.jface.text.IDocument, org.eclipse.jface.text.IDocumentExtension, org.eclipse.jface.text.IDocumentExtension2, org.eclipse.jface.text.IDocumentExtension3, org.eclipse.jface.text.IDocumentExtension4, org.eclipse.jface.text.IRepairableDocument, org.eclipse.jface.text.IRepairableDocumentExtension

public class DocumentAdapter extends org.eclipse.jface.text.Document
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.jface.text.IDocumentExtension

    org.eclipse.jface.text.IDocumentExtension.IReplace
  • Field Summary

    Fields inherited from interface org.eclipse.jface.text.IDocument

    DEFAULT_CATEGORY, DEFAULT_CONTENT_TYPE

    Fields inherited from interface org.eclipse.jface.text.IDocumentExtension3

    DEFAULT_PARTITIONING

    Fields inherited from interface org.eclipse.jface.text.IDocumentExtension4

    UNKNOWN_MODIFICATION_STAMP
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    replace​(int offset, int length, String text)
     
    void
    set​(String text)
     

    Methods inherited from class org.eclipse.jface.text.Document

    isLineInformationRepairNeeded

    Methods inherited from class org.eclipse.jface.text.AbstractDocument

    acceptPostNotificationReplaces, addDocumentListener, addDocumentPartitioningListener, addDocumentRewriteSessionListener, addPosition, addPosition, addPositionCategory, addPositionUpdater, addPrenotifiedDocumentListener, checkStateOfPartitioner, completeInitialization, computeIndexInCategory, computeIndexInPositionList, computeIndexInPositionList, computeNumberOfLines, computePartitioning, computePartitioning, containsPosition, containsPositionCategory, doFireDocumentChanged, doFireDocumentChanged, doFireDocumentChanged2, fireDocumentAboutToBeChanged, fireDocumentChanged, fireDocumentPartitioningChanged, fireDocumentPartitioningChanged, fireDocumentPartitioningChanged, fireRewriteSessionChanged, get, get, getActiveRewriteSession, getChar, getContentType, getContentType, getDefaultLineDelimiter, getDocumentListeners, getDocumentManagedPositions, getDocumentPartitioner, getDocumentPartitioner, getDocumentPartitioningListeners, getLegalContentTypes, getLegalContentTypes, getLegalLineDelimiters, getLength, getLineDelimiter, getLineInformation, getLineInformationOfOffset, getLineLength, getLineOffset, getLineOfOffset, getModificationStamp, getNumberOfLines, getNumberOfLines, getPartition, getPartition, getPartitionings, getPositionCategories, getPositions, getPositions, getPositionUpdaters, getStore, getTracker, ignorePostNotificationReplaces, insertPositionUpdater, registerPostNotificationReplace, removeDocumentListener, removeDocumentPartitioningListener, removeDocumentRewriteSessionListener, removePosition, removePosition, removePositionCategory, removePositionUpdater, removePrenotifiedDocumentListener, repairLineInformation, replace, resumeListenerNotification, resumePostNotificationProcessing, search, set, setDocumentPartitioner, setDocumentPartitioner, setInitialLineDelimiter, setLineTracker, setTextStore, startRewriteSession, startRewriteSessionOnPartitioners, startSequentialRewrite, stopListenerNotification, stopPostNotificationProcessing, stopRewriteSession, stopRewriteSessionOnPartitioners, stopSequentialRewrite, updateDocumentStructures, updatePositions

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DocumentAdapter

      public DocumentAdapter(IBuffer buffer)
  • Method Details

    • set

      public void set(String text)
      Specified by:
      set in interface org.eclipse.jface.text.IDocument
      Overrides:
      set in class org.eclipse.jface.text.AbstractDocument
    • replace

      public void replace(int offset, int length, String text) throws org.eclipse.jface.text.BadLocationException
      Specified by:
      replace in interface org.eclipse.jface.text.IDocument
      Overrides:
      replace in class org.eclipse.jface.text.AbstractDocument
      Throws:
      org.eclipse.jface.text.BadLocationException