public class BaseDocumentProvider extends DeferredDocumentProvider
DeferredDocumentProvider.DeferredSetTextJob, DeferredDocumentProvider.DeferredSetTextRunnable, DeferredDocumentProvider.DeferredSetTextUnitOfWork
org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.UnchangedElementListener, org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.URIInfo
org.eclipse.ui.editors.text.FileDocumentProvider.FileInfo, org.eclipse.ui.editors.text.FileDocumentProvider.FileSynchronizer, org.eclipse.ui.editors.text.FileDocumentProvider.SafeChange
Constructor and Description |
---|
BaseDocumentProvider() |
Modifier and Type | Method and Description |
---|---|
protected OCLInternal |
createOCL() |
protected void |
disconnected() |
protected EnvironmentFactoryInternal |
getEnvironmentFactory() |
protected OCLInternal |
getOCL() |
protected void |
loadResource(org.eclipse.xtext.resource.XtextResource resource,
java.lang.String document,
java.lang.String encoding) |
protected boolean |
setDocumentContent(org.eclipse.jface.text.IDocument document,
org.eclipse.ui.IEditorInput editorInput,
java.lang.String encoding) |
getPleaseWaitText, scheduleDeferredSetTextJob, scheduleDeferredSetTextJob, setDocumentText
addUnchangedElementListeners, createAnnotationModel, createDocument, createElementInfo, createEmptyDocument, disposeElementInfo, doSaveDocument, doUpdateStateCache, getEncoding, getResourceForEditorInputFactory, getStorage2UriMapper, getWorkspaceExternalEncoding, getWorkspaceOrDefaultEncoding, handleCoreException, isDeleted, isModifiable, isReadOnly, isSynchronized, isWorkspaceExternalEditorInput, registerAnnotationInfoProcessor, removeUnchangedElementListeners, setDocumentResource, setResourceForEditorInputFactory, updateCache
cacheEncodingState, checkSynchronizationState, computeModificationStamp, doResetDocument, doSynchronize, doValidateState, getContentType, getElementInfo, getModificationStamp, getOperationRunner, getPersistedEncoding, getResetRule, getSaveRule, getSynchronizationStamp, getSynchronizeRule, getValidateStateRule, handleElementContentChanged, handleElementDeleted, handleElementMoved, persistEncoding, readUTF8BOM, refreshFile, refreshFile, setDocumentContent
getDefaultEncoding, isNotSynchronizedException, setDocumentContent, setDocumentContent, setEncoding, setupDocument, updateCache
aboutToChange, addElementStateListener, canSaveDocument, changed, connect, connected, disconnect, executeOperation, fireElementContentAboutToBeReplaced, fireElementContentReplaced, fireElementDeleted, fireElementDirtyStateChanged, fireElementMoved, fireElementStateChangeFailed, fireElementStateChanging, fireElementStateValidationChanged, getAnnotationModel, getConnectedElements, getDocument, getProgressMonitor, getStatus, invalidatesState, isStateValidated, mustSaveDocument, removeElementStateListener, resetDocument, saveDocument, setCanSaveDocument, setProgressMonitor, synchronize, updateStateCache, validateState
@NonNull protected OCLInternal createOCL()
protected void disconnected()
disconnected
in class org.eclipse.ui.texteditor.AbstractDocumentProvider
@NonNull protected EnvironmentFactoryInternal getEnvironmentFactory()
@NonNull protected OCLInternal getOCL()
protected void loadResource(org.eclipse.xtext.resource.XtextResource resource, java.lang.String document, java.lang.String encoding) throws org.eclipse.core.runtime.CoreException
loadResource
in class org.eclipse.xtext.ui.editor.model.XtextDocumentProvider
org.eclipse.core.runtime.CoreException
protected boolean setDocumentContent(org.eclipse.jface.text.IDocument document, org.eclipse.ui.IEditorInput editorInput, java.lang.String encoding) throws org.eclipse.core.runtime.CoreException
setDocumentContent
in class org.eclipse.xtext.ui.editor.model.XtextDocumentProvider
org.eclipse.core.runtime.CoreException