public class CompatibilityFileDiagramDocumentProvider
extends org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document.FileDiagramDocumentProvider
org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document.FileDiagramDocumentProvider.DiagramFileInfo
org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document.FileDocumentProvider.FileInfo, org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document.FileDocumentProvider.FileSynchronizer, org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document.FileDocumentProvider.SafeChange
org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document.StorageDocumentProvider.StorageInfo
org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider.DocumentProviderOperation, org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider.ElementInfo
Constructor and Description |
---|
CompatibilityFileDiagramDocumentProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
doSave(org.eclipse.emf.transaction.TransactionalEditingDomain domain,
org.eclipse.core.resources.IFile file,
org.eclipse.gmf.runtime.notation.Diagram diagram,
java.util.Map options,
org.eclipse.core.runtime.IProgressMonitor monitor)
Alerts user when the document about to be saved contains a diagram that
has been converted to the current version by the MMI compatibility
handler and asks whether the document should be upgraded and saved.
|
createEmptyDocument, createFileInfo, createInputWithEditingDomain, disposeElementInfo, doSaveDocument, getDiagramDocument, getSaveRule, handleElementContentChanged, handleElementMoved, saveDocumentToFile, setDocumentContent, setDocumentContentFromStorage
checkSynchronizationState, computeModificationStamp, createElementInfo, doResetDocument, doSynchronize, doValidateState, getElementInfo, getModificationStamp, getOperationRunner, getResetRule, getSynchronizationStamp, getSynchronizeRule, getValidateStateRule, handleElementDeleted, isDeleted, isModifiable, isSynchronized, refreshFile, refreshFile, setDocumentContent
createDocument, createNewElementInfo, doUpdateStateCache, handleCoreException, isReadOnly, setupDocument, updateCache
aboutToChange, addElementStateListener, addUnchangedElementListeners, canSaveDocument, changed, connect, connected, disconnect, disconnected, executeOperation, fireElementContentAboutToBeReplaced, fireElementContentReplaced, fireElementDeleted, fireElementDirtyStateChanged, fireElementMoved, fireElementStateChangeFailed, fireElementStateChanging, fireElementStateValidationChanged, getConnectedElements, getDocument, getProgressMonitor, getResetOperation, getSaveOperation, getStatus, invalidatesState, isStateValidated, mustSaveDocument, removeElementStateListener, removeUnchangedElementListeners, resetDocument, saveDocument, setCanSaveDocument, setProgressMonitor, synchronize, updateStateCache, validateState
public CompatibilityFileDiagramDocumentProvider()
protected void doSave(org.eclipse.emf.transaction.TransactionalEditingDomain domain, org.eclipse.core.resources.IFile file, org.eclipse.gmf.runtime.notation.Diagram diagram, java.util.Map options, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
doSave
in class org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document.FileDiagramDocumentProvider
domain
- TransactionalEditingDomain passed to superclass method.file
- IFile passed to superclass method.diagram
- Diagram passed to superclass method.options
- Map passed to superclass method.monitor
- IProgressMonitor passed to superclass method.org.eclipse.core.runtime.CoreException