public class BaseDocument extends org.eclipse.xtext.ui.editor.model.XtextDocument implements ConsoleContext
Modifier and Type | Class and Description |
---|---|
class |
BaseDocument.BaseDocumentLocker |
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 org.eclipse.xtext.ui.editor.model.XtextDocument.XtextDocumentLocker |
createDocumentLocker() |
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 |
setContext(org.eclipse.emf.ecore.EClassifier ecoreContext,
java.util.Map<java.lang.String,org.eclipse.emf.ecore.EClassifier> ecoreParameters) |
java.lang.Object |
setContext(EssentialOCLCSResource resource,
org.eclipse.emf.ecore.EClassifier ecoreContext,
java.util.Map<java.lang.String,org.eclipse.emf.ecore.EClassifier> ecoreParameters)
Deprecated.
|
java.lang.Object |
setContext(EssentialOCLCSResource resource,
org.eclipse.emf.ecore.EObject eObject) |
addModelListener, addPosition, addPosition, addXtextDocumentContentObserver, checkAndUpdateAnnotations, disposeInput, ensureThatStateIsNotReturned, fireDocumentChanged, getAdapter, getLastDamage, getPositions, getPositions, getResourceURI, getTokens, getValidationJob, internalModify, modify, notifyModelListeners, readOnly, removeModelListener, removePosition, removePosition, removeXtextDocumentContentObserver, setInput, setValidationJob, updateContentBeforeRead
acceptPostNotificationReplaces, 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, updatePositions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addDocumentListener, 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 org.eclipse.xtext.ui.editor.model.XtextDocument.XtextDocumentLocker createDocumentLocker()
createDocumentLocker
in class org.eclipse.xtext.ui.editor.model.XtextDocument
protected 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
public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
public 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
@Deprecated @Nullable public java.lang.Object setContext(@NonNull EssentialOCLCSResource resource, @Nullable org.eclipse.emf.ecore.EClassifier ecoreContext, @Nullable java.util.Map<java.lang.String,org.eclipse.emf.ecore.EClassifier> ecoreParameters)
@Nullable public java.lang.Object setContext(@NonNull EssentialOCLCSResource resource, @Nullable org.eclipse.emf.ecore.EObject eObject)