Class ModelTypeExtension


  • public class ModelTypeExtension
    extends Object
    • Field Detail

      • label

        protected String label
      • 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 Detail

      • ModelTypeExtension

        public ModelTypeExtension()
      • ModelTypeExtension

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

      • 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)
      • getConfigurationElement

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

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