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

Quick Search    Search Deep

com.port80.eclipse.csharp.editors
Class CSharpDocumentProvider  view CSharpDocumentProvider download CSharpDocumentProvider.java

java.lang.Object
  extended byorg.eclipse.ui.texteditor.AbstractDocumentProvider
      extended byorg.eclipse.ui.editors.text.StorageDocumentProvider
          extended byorg.eclipse.ui.editors.text.FileDocumentProvider
              extended bycom.port80.eclipse.csharp.editors.CSharpDocumentProvider
All Implemented Interfaces:
org.eclipse.ui.texteditor.IDocumentProvider, org.eclipse.ui.texteditor.IDocumentProviderExtension, org.eclipse.ui.texteditor.IDocumentProviderExtension2, org.eclipse.ui.texteditor.IDocumentProviderExtension3, org.eclipse.ui.editors.text.IStorageDocumentProvider

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


Nested Class Summary
 
Nested classes inherited from class org.eclipse.ui.editors.text.FileDocumentProvider
org.eclipse.ui.editors.text.FileDocumentProvider.FileInfo, org.eclipse.ui.editors.text.FileDocumentProvider.FileSynchronizer, org.eclipse.ui.editors.text.FileDocumentProvider.SafeChange
 
Nested classes inherited from class org.eclipse.ui.editors.text.StorageDocumentProvider
org.eclipse.ui.editors.text.StorageDocumentProvider.StorageInfo
 
Nested classes inherited from class org.eclipse.ui.texteditor.AbstractDocumentProvider
org.eclipse.ui.texteditor.AbstractDocumentProvider.DocumentProviderOperation, org.eclipse.ui.texteditor.AbstractDocumentProvider.ElementInfo
 
Field Summary
private  CSharpEditorConfiguration fConfig
           
private  org.eclipse.jface.text.IDocumentPartitioner fPartitioner
           
 
Fields inherited from class org.eclipse.ui.editors.text.FileDocumentProvider
 
Fields inherited from class org.eclipse.ui.editors.text.StorageDocumentProvider
DEFAULT_FILE_SIZE
 
Fields inherited from class org.eclipse.ui.texteditor.AbstractDocumentProvider
PR10806_UC5_ENABLED, PR14469_ENABLED, STATUS_ERROR, STATUS_OK
 
Constructor Summary
CSharpDocumentProvider(CSharpEditorConfiguration cf)
          Constructor for XMLDocumentProvider.
 
Method Summary
protected  org.eclipse.jface.text.IDocument createDocument(java.lang.Object element)
          Creates the document for the given element.
 org.eclipse.jface.text.IDocumentPartitioner getPartitioner()
           
 
Methods inherited from class org.eclipse.ui.editors.text.FileDocumentProvider
checkSynchronizationState, computeModificationStamp, createAnnotationModel, createElementInfo, disposeElementInfo, doResetDocument, doSaveDocument, doSynchronize, doValidateState, getElementInfo, getModificationStamp, getOperationRunner, getPersistedEncoding, getResetRule, getSaveRule, getSynchronizationStamp, getSynchronizeRule, getValidateStateRule, handleElementContentChanged, handleElementDeleted, handleElementMoved, isDeleted, isModifiable, isSynchronized, persistEncoding, readUTF8BOM, refreshFile, refreshFile, setDocumentContent, setDocumentContent
 
Methods inherited from class org.eclipse.ui.editors.text.StorageDocumentProvider
createEmptyDocument, doUpdateStateCache, getDefaultEncoding, getEncoding, handleCoreException, isReadOnly, setDocumentContent, setDocumentContent, setEncoding, setupDocument, updateCache
 
Methods inherited from class org.eclipse.ui.texteditor.AbstractDocumentProvider
aboutToChange, addElementStateListener, addUnchangedElementListeners, canSaveDocument, changed, connect, connected, disconnect, disconnected, executeOperation, fireElementContentAboutToBeReplaced, fireElementContentReplaced, fireElementDeleted, fireElementDirtyStateChanged, fireElementMoved, fireElementStateChangeFailed, fireElementStateChanging, fireElementStateValidationChanged, getAnnotationModel, getConnectedElements, getDocument, getProgressMonitor, getStatus, invalidatesState, isStateValidated, mustSaveDocument, removeElementStateListener, removeUnchangedElementListeners, resetDocument, saveDocument, setCanSaveDocument, setProgressMonitor, synchronize, updateStateCache, validateState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fPartitioner

private org.eclipse.jface.text.IDocumentPartitioner fPartitioner

fConfig

private CSharpEditorConfiguration fConfig
Constructor Detail

CSharpDocumentProvider

public CSharpDocumentProvider(CSharpEditorConfiguration cf)
Constructor for XMLDocumentProvider.

Method Detail

createDocument

protected org.eclipse.jface.text.IDocument createDocument(java.lang.Object element)
                                                   throws org.eclipse.core.runtime.CoreException
Description copied from class: org.eclipse.ui.texteditor.AbstractDocumentProvider
Creates the document for the given element.

Subclasses must implement this method.


getPartitioner

public org.eclipse.jface.text.IDocumentPartitioner getPartitioner()