org.ocopomo.annotation.mynote.editors
Class GateDocumentProvider

java.lang.Object
  extended by org.eclipse.ui.texteditor.AbstractDocumentProvider
      extended by org.eclipse.ui.editors.text.StorageDocumentProvider
          extended by org.eclipse.ui.editors.text.FileDocumentProvider
              extended by org.ocopomo.annotation.mynote.editors.GateDocumentProvider
All Implemented Interfaces:
org.eclipse.ui.editors.text.IStorageDocumentProvider, org.eclipse.ui.texteditor.IDocumentProvider, org.eclipse.ui.texteditor.IDocumentProviderExtension, org.eclipse.ui.texteditor.IDocumentProviderExtension2, org.eclipse.ui.texteditor.IDocumentProviderExtension3, org.eclipse.ui.texteditor.IDocumentProviderExtension4, org.eclipse.ui.texteditor.IDocumentProviderExtension5

public class GateDocumentProvider
extends org.eclipse.ui.editors.text.FileDocumentProvider


Field Summary
 org.eclipse.jface.text.projection.ProjectionDocument pDoc
           
 
Constructor Summary
GateDocumentProvider(MyNoteAnnotator myNoteAnnotator)
           
 
Method Summary
 void addNode(int offsetStart, int offsetEnd, java.lang.String startNodeId, java.lang.String endNodeId)
           
 java.lang.String getFilePath()
           
 void rerender(java.lang.String content)
           
 
Methods inherited from class org.eclipse.ui.editors.text.FileDocumentProvider
getContentType, getModificationStamp, getSynchronizationStamp, isDeleted, isModifiable, isSynchronized
 
Methods inherited from class org.eclipse.ui.editors.text.StorageDocumentProvider
getDefaultEncoding, getEncoding, isNotSynchronizedException, isReadOnly, setEncoding
 
Methods inherited from class org.eclipse.ui.texteditor.AbstractDocumentProvider
aboutToChange, addElementStateListener, canSaveDocument, connect, disconnect, getAnnotationModel, getDocument, getProgressMonitor, getStatus, changed, isStateValidated, mustSaveDocument, removeElementStateListener, resetDocument, saveDocument, setCanSaveDocument, setProgressMonitor, synchronize, updateStateCache, validateState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pDoc

public org.eclipse.jface.text.projection.ProjectionDocument pDoc
Constructor Detail

GateDocumentProvider

public GateDocumentProvider(MyNoteAnnotator myNoteAnnotator)
Method Detail

getFilePath

public java.lang.String getFilePath()

rerender

public void rerender(java.lang.String content)

addNode

public void addNode(int offsetStart,
                    int offsetEnd,
                    java.lang.String startNodeId,
                    java.lang.String endNodeId)