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