Class ModelTypeExtension
- java.lang.Object
-
- org.eclipse.epsilon.common.dt.launching.extensions.ModelTypeExtension
-
public class ModelTypeExtension extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
clazz
protected org.eclipse.core.runtime.IConfigurationElement
configurationElement
protected String
contributingPlugin
protected org.eclipse.swt.graphics.Image
image
protected String
label
protected boolean
stable
protected String
type
-
Constructor Summary
Constructors Constructor Description ModelTypeExtension()
ModelTypeExtension(String label, String type, org.eclipse.swt.graphics.Image image, boolean stable)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AbstractModelConfigurationDialog
createDialog()
IModel
createModel()
static ModelTypeExtension
forType(String type)
String
getClazz()
org.eclipse.core.runtime.IConfigurationElement
getConfigurationElement()
String
getContributingPlugin()
org.eclipse.swt.graphics.Image
getImage()
String
getLabel()
String
getType()
boolean
isStable()
void
setClazz(String clazz)
void
setConfigurationElement(org.eclipse.core.runtime.IConfigurationElement configurationElement)
void
setContributingPlugin(String contributingPlugin)
void
setImage(org.eclipse.swt.graphics.Image image)
Deprecated.Use setContributingPlugin() instead for lazy image initialisationvoid
setLabel(String label)
void
setStable(boolean stable)
void
setType(String type)
-
-
-
Field Detail
-
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
-
-
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)
-
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)
-
-