Class 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.
    • Constructor Detail

      • PalladioComponentModelDocumentProvider

        public PalladioComponentModelDocumentProvider()
    • Method Detail

      • createElementInfo

        protected org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider.ElementInfo createElementInfo​(Object element)
                                                                                                                               throws CoreException
        Overrides:
        createElementInfo in class org.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 class org.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)
        Sets up the given document as it would be provided for the given element. The content of the document is not changed. This default implementation is empty. Subclasses may reimplement.
        Parameters:
        element - the blue-print element
        document - the document to set up
        Generated class or method.
      • createEmptyDocument

        protected org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocument createEmptyDocument()
        Specified by:
        createEmptyDocument in class org.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 interface org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider
        Overrides:
        getModificationStamp in class org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
        Generated class or method.
      • isDeleted

        public boolean isDeleted​(Object element)
        Specified by:
        isDeleted in interface org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider
        Overrides:
        isDeleted in class org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
        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 class org.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 class org.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 interface org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider
        Overrides:
        isReadOnly in class org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
        Generated class or method.
      • isModifiable

        public boolean isModifiable​(Object element)
        Specified by:
        isModifiable in interface org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider
        Overrides:
        isModifiable in class org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
        Generated class or method.
      • doUpdateStateCache

        protected void doUpdateStateCache​(Object element)
                                   throws CoreException
        Overrides:
        doUpdateStateCache in class org.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 interface org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider
        Overrides:
        isSynchronized in class org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
        Generated class or method.
      • getResetRule

        protected ISchedulingRule getResetRule​(Object element)
        Overrides:
        getResetRule in class org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
        Generated class or method.
      • getSaveRule

        protected ISchedulingRule getSaveRule​(Object element)
        Overrides:
        getSaveRule in class org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
        Generated class or method.
      • getSynchronizeRule

        protected ISchedulingRule getSynchronizeRule​(Object element)
        Overrides:
        getSynchronizeRule in class org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
        Generated class or method.
      • getValidateStateRule

        protected ISchedulingRule getValidateStateRule​(Object element)
        Overrides:
        getValidateStateRule in class org.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 class org.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 class org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
        Throws:
        CoreException
        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 interface org.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 interface org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDiagramDocumentProvider
        Generated class or method.
      • getOperationRunner

        protected IRunnableContext getOperationRunner​(IProgressMonitor monitor)
        Specified by:
        getOperationRunner in class org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider
        Generated class or method.