Class ModelTypeExtension

java.lang.Object
org.eclipse.epsilon.common.dt.launching.extensions.ModelTypeExtension

public class ModelTypeExtension extends Object
  • Field Details

    • label

      protected String label
    • type

      protected String type
    • image

      protected org.eclipse.swt.graphics.Image image
    • clazz

      protected String clazz
    • configurationElement

      protected org.eclipse.core.runtime.IConfigurationElement configurationElement
    • stable

      protected boolean stable
    • contributingPlugin

      protected String contributingPlugin
  • Constructor Details

    • ModelTypeExtension

      public ModelTypeExtension()
    • ModelTypeExtension

      public ModelTypeExtension(String label, String type, org.eclipse.swt.graphics.Image image, boolean stable)
  • Method Details

    • setStable

      public void setStable(boolean stable)
    • isStable

      public boolean isStable()
    • setContributingPlugin

      public void setContributingPlugin(String contributingPlugin)
    • getContributingPlugin

      public String getContributingPlugin()
    • setImage

      public void setImage(org.eclipse.swt.graphics.Image image)
      Deprecated.
      Use setContributingPlugin() instead for lazy image initialisation
      Parameters:
      image -
    • getImage

      public org.eclipse.swt.graphics.Image getImage()
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • createDialog

      public AbstractModelConfigurationDialog createDialog() throws org.eclipse.core.runtime.CoreException
      Throws:
      org.eclipse.core.runtime.CoreException
    • createModel

      public IModel createModel() throws org.eclipse.core.runtime.CoreException
      Throws:
      org.eclipse.core.runtime.CoreException
    • getClazz

      public String getClazz()
    • setClazz

      public void setClazz(String clazz)
    • forType

      public static ModelTypeExtension forType(String type)
    • getConfigurationElement

      public org.eclipse.core.runtime.IConfigurationElement getConfigurationElement()
    • setConfigurationElement

      public void setConfigurationElement(org.eclipse.core.runtime.IConfigurationElement configurationElement)