Class EglPictoSource

java.lang.Object
org.eclipse.epsilon.picto.source.EglPictoSource
All Implemented Interfaces:
PictoSource
Direct Known Subclasses:
ExternalMetadataSource, FlexmiSource, SimpleSource

public abstract class EglPictoSource extends Object implements PictoSource
  • Field Details

  • Constructor Details

    • EglPictoSource

      public EglPictoSource()
  • Method Details

    • getViewTree

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

      protected Parameter createParameter(String name, Object value)
    • waitForPath

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

      protected ViewTree createEmptyViewTree()
    • dispose

      public void dispose()
      Specified by:
      dispose in interface PictoSource
    • loadModel

      protected IModel loadModel(Model model, File baseFile) throws Exception
      Throws:
      Exception
    • getDefaultFormat

      protected String getDefaultFormat()
    • getDefaultIcon

      protected String getDefaultIcon()
    • supports

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

      public 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)