public class OCLinEcoreDocument extends BaseDocument
BaseDocument.BaseDocumentLocker
Constructor and Description |
---|
OCLinEcoreDocument(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) |
protected org.eclipse.emf.ecore.xmi.XMLResource |
getPivotResouce() |
void |
saveAsEcore(java.io.Writer writer,
org.eclipse.emf.common.util.URI ecoreURI,
java.lang.String exportDelegateURI)
Write the XMI representation of the Ecore to be saved.
|
void |
saveAsPivot(java.io.StringWriter writer)
Write the XMI representation of the Pivot to be saved.
|
void |
saveAsUML(java.io.Writer writer,
org.eclipse.emf.common.util.URI umlURI)
Write the XMI representation of the UML to be saved.
|
void |
saveInEcore(java.io.Writer writer,
org.eclipse.emf.common.util.URI ecoreURI,
java.lang.String exportDelegateURI)
Write the XMI representation of the Ecore to be saved.
|
createDocumentLocker, getDocumentAttribution, getOCLContext, getOCLParameters, getResourceSet, setContext, setContext, setContext
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 OCLinEcoreDocument(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 protected org.eclipse.emf.ecore.xmi.XMLResource getPivotResouce() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void saveAsEcore(@NonNull java.io.Writer writer, @NonNull org.eclipse.emf.common.util.URI ecoreURI, @Nullable java.lang.String exportDelegateURI) throws java.io.IOException, org.eclipse.core.runtime.CoreException
exportDelegateURI
- java.io.IOException
org.eclipse.core.runtime.CoreException
public void saveAsPivot(@NonNull java.io.StringWriter writer) throws org.eclipse.core.runtime.CoreException, java.io.IOException
org.eclipse.core.runtime.CoreException
java.io.IOException
public void saveAsUML(@NonNull java.io.Writer writer, @NonNull org.eclipse.emf.common.util.URI umlURI) throws java.io.IOException, org.eclipse.core.runtime.CoreException
java.io.IOException
org.eclipse.core.runtime.CoreException
public void saveInEcore(@NonNull java.io.Writer writer, @NonNull org.eclipse.emf.common.util.URI ecoreURI, @Nullable java.lang.String exportDelegateURI) throws java.io.IOException, org.eclipse.core.runtime.CoreException
java.io.IOException
org.eclipse.core.runtime.CoreException