Class EglPictoSource

    • Field Detail

      • models

        protected java.util.Collection<IModel> models
    • Constructor Detail

      • EglPictoSource

        public EglPictoSource()
    • Method Detail

      • getViewTree

        public ViewTree getViewTree​(org.eclipse.ui.IEditorPart editor)
                             throws java.lang.Exception
        Specified by:
        getViewTree in interface PictoSource
        Throws:
        java.lang.Exception
      • createParameter

        protected Parameter createParameter​(java.lang.String name,
                                            java.lang.Object value)
      • waitForPath

        protected org.eclipse.core.runtime.IPath waitForPath​(org.eclipse.ui.IEditorPart editorPart)
      • createEmptyViewTree

        protected ViewTree createEmptyViewTree()
      • loadModel

        protected IModel loadModel​(Model model,
                                   java.io.File baseFile)
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getDefaultFormat

        protected java.lang.String getDefaultFormat()
      • getDefaultIcon

        protected java.lang.String getDefaultIcon()
      • supports

        public boolean supports​(org.eclipse.ui.IEditorPart editorPart)
        Specified by:
        supports in interface PictoSource
      • getValue

        public java.lang.Object getValue​(Parameter parameter)
      • getRenderingMetadata

        protected abstract Picto getRenderingMetadata​(org.eclipse.ui.IEditorPart editorPart)
      • getResource

        protected abstract org.eclipse.emf.ecore.resource.Resource getResource​(org.eclipse.ui.IEditorPart editorPart)
      • getPath

        public org.eclipse.core.runtime.IPath getPath​(org.eclipse.ui.IEditorPart editorPart)
      • getFile

        protected abstract org.eclipse.core.resources.IFile getFile​(org.eclipse.ui.IEditorPart editorPart)
      • supportsEditorType

        protected abstract boolean supportsEditorType​(org.eclipse.ui.IEditorPart editorPart)