Class PalladioComponentModelDocumentProvider
- java.lang.Object
-
- org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
-
- de.uka.ipd.sdq.pcm.gmf.resource.part.PalladioComponentModelDocumentProvider
-
- All Implemented Interfaces:
org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDiagramDocumentProvider
,org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider
public class PalladioComponentModelDocumentProvider extends org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider implements org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDiagramDocumentProvider
- Generated class or method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
PalladioComponentModelDocumentProvider.ResourceSetInfo
-
Nested classes/interfaces inherited from class org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider.DocumentProviderOperation, org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider.ElementInfo
-
-
Constructor Summary
Constructors Constructor Description PalladioComponentModelDocumentProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocument
createDocument(Object element)
protected org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider.ElementInfo
createElementInfo(Object element)
protected org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocument
createEmptyDocument()
IEditorInput
createInputWithEditingDomain(IEditorInput editorInput, org.eclipse.emf.transaction.TransactionalEditingDomain domain)
protected void
disposeElementInfo(Object element, org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider.ElementInfo info)
protected void
doSaveDocument(IProgressMonitor monitor, Object element, org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocument document, boolean overwrite)
protected void
doSynchronize(Object element, IProgressMonitor monitor)
protected void
doUpdateStateCache(Object element)
protected void
doValidateState(Object element, Object computationContext)
org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDiagramDocument
getDiagramDocument(Object element)
long
getModificationStamp(Object element)
protected IRunnableContext
getOperationRunner(IProgressMonitor monitor)
protected ISchedulingRule
getResetRule(Object element)
PalladioComponentModelDocumentProvider.ResourceSetInfo
getResourceSetInfo(Object editorInput)
protected ISchedulingRule
getSaveRule(Object element)
protected ISchedulingRule
getSynchronizeRule(Object element)
protected ISchedulingRule
getValidateStateRule(Object element)
protected void
handleElementChanged(PalladioComponentModelDocumentProvider.ResourceSetInfo info, Resource changedResource, IProgressMonitor monitor)
protected void
handleElementMoved(IEditorInput input, URI uri)
boolean
isDeleted(Object element)
boolean
isModifiable(Object element)
boolean
isReadOnly(Object element)
boolean
isSynchronized(Object element)
protected void
setDocumentContent(org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocument document, IEditorInput element)
protected void
setupDocument(Object element, org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocument document)
protected void
updateCache(Object element)
-
Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
aboutToChange, addElementStateListener, addUnchangedElementListeners, canSaveDocument, changed, connect, connected, disconnect, disconnected, doResetDocument, executeOperation, fireElementContentAboutToBeReplaced, fireElementContentReplaced, fireElementDeleted, fireElementDirtyStateChanged, fireElementMoved, fireElementStateChangeFailed, fireElementStateChanging, fireElementStateValidationChanged, getConnectedElements, getDocument, getElementInfo, getProgressMonitor, getResetOperation, getSaveOperation, getStatus, getSynchronizationStamp, invalidatesState, isStateValidated, mustSaveDocument, removeElementStateListener, removeUnchangedElementListeners, resetDocument, saveDocument, setCanSaveDocument, setProgressMonitor, synchronize, updateStateCache, validateState
-
-
-
-
Method Detail
-
createElementInfo
protected org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider.ElementInfo createElementInfo(Object element) throws CoreException
- Overrides:
createElementInfo
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Throws:
CoreException
- Generated class or method.
-
createDocument
protected org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocument createDocument(Object element) throws CoreException
- Specified by:
createDocument
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Throws:
CoreException
- Generated class or method.
-
setupDocument
protected void setupDocument(Object element, org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocument document)
- Generated class or method.
-
createEmptyDocument
protected org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocument createEmptyDocument()
- Specified by:
createEmptyDocument
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Generated class or method.
-
setDocumentContent
protected void setDocumentContent(org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocument document, IEditorInput element) throws CoreException
- Throws:
CoreException
- Generated class or method.
-
getModificationStamp
public long getModificationStamp(Object element)
- Specified by:
getModificationStamp
in interfaceorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider
- Overrides:
getModificationStamp
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Generated class or method.
-
isDeleted
public boolean isDeleted(Object element)
- Specified by:
isDeleted
in interfaceorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider
- Overrides:
isDeleted
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Generated class or method.
-
getResourceSetInfo
public PalladioComponentModelDocumentProvider.ResourceSetInfo getResourceSetInfo(Object editorInput)
- Generated class or method.
-
disposeElementInfo
protected void disposeElementInfo(Object element, org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider.ElementInfo info)
- Overrides:
disposeElementInfo
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Generated class or method.
-
doValidateState
protected void doValidateState(Object element, Object computationContext) throws CoreException
- Overrides:
doValidateState
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Throws:
CoreException
- Generated class or method.
-
isReadOnly
public boolean isReadOnly(Object element)
- Specified by:
isReadOnly
in interfaceorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider
- Overrides:
isReadOnly
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Generated class or method.
-
isModifiable
public boolean isModifiable(Object element)
- Specified by:
isModifiable
in interfaceorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider
- Overrides:
isModifiable
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Generated class or method.
-
updateCache
protected void updateCache(Object element) throws CoreException
- Throws:
CoreException
- Generated class or method.
-
doUpdateStateCache
protected void doUpdateStateCache(Object element) throws CoreException
- Overrides:
doUpdateStateCache
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Throws:
CoreException
- Generated class or method.
-
isSynchronized
public boolean isSynchronized(Object element)
- Specified by:
isSynchronized
in interfaceorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider
- Overrides:
isSynchronized
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Generated class or method.
-
getResetRule
protected ISchedulingRule getResetRule(Object element)
- Overrides:
getResetRule
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Generated class or method.
-
getSaveRule
protected ISchedulingRule getSaveRule(Object element)
- Overrides:
getSaveRule
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Generated class or method.
-
getSynchronizeRule
protected ISchedulingRule getSynchronizeRule(Object element)
- Overrides:
getSynchronizeRule
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Generated class or method.
-
getValidateStateRule
protected ISchedulingRule getValidateStateRule(Object element)
- Overrides:
getValidateStateRule
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Generated class or method.
-
doSynchronize
protected void doSynchronize(Object element, IProgressMonitor monitor) throws CoreException
- Overrides:
doSynchronize
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Throws:
CoreException
- Generated class or method.
-
doSaveDocument
protected void doSaveDocument(IProgressMonitor monitor, Object element, org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocument document, boolean overwrite) throws CoreException
- Specified by:
doSaveDocument
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Throws:
CoreException
- Generated class or method.
-
handleElementChanged
protected void handleElementChanged(PalladioComponentModelDocumentProvider.ResourceSetInfo info, Resource changedResource, IProgressMonitor monitor)
- Generated class or method.
-
handleElementMoved
protected void handleElementMoved(IEditorInput input, URI uri)
- Generated class or method.
-
createInputWithEditingDomain
public IEditorInput createInputWithEditingDomain(IEditorInput editorInput, org.eclipse.emf.transaction.TransactionalEditingDomain domain)
- Specified by:
createInputWithEditingDomain
in interfaceorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDiagramDocumentProvider
- Generated class or method.
-
getDiagramDocument
public org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDiagramDocument getDiagramDocument(Object element)
- Specified by:
getDiagramDocument
in interfaceorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDiagramDocumentProvider
- Generated class or method.
-
getOperationRunner
protected IRunnableContext getOperationRunner(IProgressMonitor monitor)
- Specified by:
getOperationRunner
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
- Generated class or method.
-
-