Class XMLDocumentProvider
java.lang.Object
org.eclipse.ui.texteditor.AbstractDocumentProvider
org.eclipse.ui.editors.text.StorageDocumentProvider
org.eclipse.ui.editors.text.FileDocumentProvider
de.uka.ipd.sdq.pcm.gmf.resource.editors.XMLDocumentProvider
- All Implemented Interfaces:
IStorageDocumentProvider
,IDocumentProvider
,IDocumentProviderExtension
,IDocumentProviderExtension2
,IDocumentProviderExtension3
,IDocumentProviderExtension4
,IDocumentProviderExtension5
An xml document provider.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.ui.editors.text.FileDocumentProvider
FileDocumentProvider.FileInfo, FileDocumentProvider.FileSynchronizer, FileDocumentProvider.SafeChange
Nested classes/interfaces inherited from class org.eclipse.ui.editors.text.StorageDocumentProvider
StorageDocumentProvider.StorageInfo
Nested classes/interfaces inherited from class org.eclipse.ui.texteditor.AbstractDocumentProvider
AbstractDocumentProvider.DocumentProviderOperation, AbstractDocumentProvider.ElementInfo
-
Field Summary
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
-
Method Summary
Methods inherited from class org.eclipse.ui.editors.text.FileDocumentProvider
cacheEncodingState, checkSynchronizationState, computeModificationStamp, createAnnotationModel, createElementInfo, disposeElementInfo, doResetDocument, doSaveDocument, doSynchronize, doValidateState, getContentType, getElementInfo, getModificationStamp, getOperationRunner, getPersistedEncoding, getRefreshRule, 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, isNotSynchronizedException, 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
-
Constructor Details
-
XMLDocumentProvider
public XMLDocumentProvider()
-
-
Method Details
-
createDocument
- Overrides:
createDocument
in classStorageDocumentProvider
- Parameters:
element
- an Object- Returns:
- an IDocument
- Throws:
CoreException
- a core exception
-