public class BaseDocument extends org.eclipse.xtext.ui.editor.model.XtextDocument implements ConsoleContext
org.eclipse.xtext.ui.editor.model.XtextDocument.XtextDocumentLocker| Constructor and Description |
|---|
BaseDocument(org.eclipse.xtext.ui.editor.model.DocumentTokenSource tokenSource,
org.eclipse.xtext.ui.editor.model.edit.ITextEditComposer composer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkForErrors(org.eclipse.emf.ecore.resource.Resource resource) |
ASResource |
getASResource() |
protected RootCSAttribution |
getDocumentAttribution() |
org.eclipse.emf.ecore.EObject |
getOCLContext() |
java.util.Map<java.lang.String,org.eclipse.emf.ecore.EClassifier> |
getOCLParameters() |
org.eclipse.emf.ecore.resource.ResourceSet |
getResourceSet() |
void |
saveAsPivot(java.io.StringWriter writer)
Write the XMI representation of the Pivot to be saved.
|
java.lang.Object |
setContext(BaseCSResource csResource,
org.eclipse.emf.ecore.EObject eObject) |
void |
setContext(org.eclipse.emf.ecore.EClassifier ecoreContext,
java.util.Map<java.lang.String,org.eclipse.emf.ecore.EClassifier> ecoreParameters) |
addModelListener, addPosition, addPosition, addXtextDocumentContentObserver, checkAndUpdateAnnotations, createDocumentLocker, disposeInput, ensureThatStateIsNotReturned, fireDocumentChanged, getAdapter, getCancelIndicator, getLastDamage, getPositions, getPositions, getResourceLock, getResourceURI, getTokens, getValidationJob, hasPendingUpdates, internalModify, modify, notifyModelListeners, priorityReadOnly, readOnly, removeModelListener, removePosition, removePosition, removeXtextDocumentContentObserver, setInput, setOutdated, setValidationJob, updateContentBeforeReadacceptPostNotificationReplaces, addDocumentListener, addDocumentPartitioningListener, addDocumentRewriteSessionListener, addPositionCategory, addPositionUpdater, addPrenotifiedDocumentListener, checkStateOfPartitioner, completeInitialization, computeIndexInCategory, computeIndexInPositionList, computeIndexInPositionList, computeNumberOfLines, computePartitioning, computePartitioning, containsPosition, containsPositionCategory, doFireDocumentChanged, doFireDocumentChanged, doFireDocumentChanged2, fireDocumentAboutToBeChanged, 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, getPositionUpdaters, getStore, getTracker, ignorePostNotificationReplaces, insertPositionUpdater, registerPostNotificationReplace, removeDocumentListener, removeDocumentPartitioningListener, removeDocumentRewriteSessionListener, removePositionCategory, removePositionUpdater, removePrenotifiedDocumentListener, repairLineInformation, replace, replace, resumeListenerNotification, resumePostNotificationProcessing, search, set, set, setDocumentPartitioner, setDocumentPartitioner, setInitialLineDelimiter, setLineTracker, setTextStore, startRewriteSession, startRewriteSessionOnPartitioners, startSequentialRewrite, stopListenerNotification, stopPostNotificationProcessing, stopRewriteSession, stopRewriteSessionOnPartitioners, stopSequentialRewrite, updateDocumentStructures, updatePositionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDocumentListener, addDocumentPartitioningListener, addPosition, addPosition, addPositionCategory, addPositionUpdater, addPrenotifiedDocumentListener, computeIndexInCategory, computeNumberOfLines, computePartitioning, containsPosition, containsPositionCategory, get, get, getChar, getContentType, getDocumentPartitioner, getLegalContentTypes, getLegalLineDelimiters, getLength, getLineDelimiter, getLineInformation, getLineInformationOfOffset, getLineLength, getLineOffset, getLineOfOffset, getNumberOfLines, getNumberOfLines, getPartition, getPositionCategories, getPositions, getPositionUpdaters, insertPositionUpdater, removeDocumentListener, removeDocumentPartitioningListener, removePosition, removePosition, removePositionCategory, removePositionUpdater, removePrenotifiedDocumentListener, replace, search, set, setDocumentPartitioner@Inject
public BaseDocument(org.eclipse.xtext.ui.editor.model.DocumentTokenSource tokenSource,
org.eclipse.xtext.ui.editor.model.edit.ITextEditComposer composer)
protected void checkForErrors(org.eclipse.emf.ecore.resource.Resource resource)
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException@Nullable public ASResource getASResource() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionprotected RootCSAttribution getDocumentAttribution()
@Nullable public org.eclipse.emf.ecore.EObject getOCLContext()
getOCLContext in interface ConsoleContext@Nullable public java.util.Map<java.lang.String,org.eclipse.emf.ecore.EClassifier> getOCLParameters()
getOCLParameters in interface ConsoleContext@Nullable public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
public void saveAsPivot(@NonNull java.io.StringWriter writer) throws org.eclipse.core.runtime.CoreException, java.io.IOException
org.eclipse.core.runtime.CoreExceptionjava.io.IOExceptionpublic void setContext(@NonNull org.eclipse.emf.ecore.EClassifier ecoreContext, @Nullable java.util.Map<java.lang.String,org.eclipse.emf.ecore.EClassifier> ecoreParameters)
setContext in interface ConsoleContext@Nullable public java.lang.Object setContext(@NonNull BaseCSResource csResource, @Nullable org.eclipse.emf.ecore.EObject eObject)