Class ModuleImplementationExtension
- java.lang.Object
-
- org.eclipse.epsilon.common.dt.launching.extensions.ModuleImplementationExtension
-
public class ModuleImplementationExtension extends Object
The Module Implementation Extension stores configuration information about existing module implementations.- Author:
- Horacio Hoyos Rodriguez
-
-
Constructor Summary
Constructors Constructor Description ModuleImplementationExtension(org.eclipse.core.runtime.IConfigurationElement configurationElement)
Instantiates a new module implementation extension.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ModuleConfiguration>
TcreateDialog()
Creates the dialog.<T extends IModule>
TcreateModule()
Creates the module.static ModuleImplementationExtension
defaultImplementation(String languageName)
Default implementation.static ModuleImplementationExtension
forImplementation(String languageName, String implName)
Get the ModuleImplementationExtension for a specific implementation.String
getClazz()
Gets the clazz.String
getLanguage()
Gets the language.String
getName()
Gets the name.boolean
isDefault()
-
-
-
Method Detail
-
forImplementation
public static ModuleImplementationExtension forImplementation(String languageName, String implName)
Get the ModuleImplementationExtension for a specific implementation. ModuleImplementationExtensions created via this method also provide- Parameters:
implName
- the name of the implementation- Returns:
- the ModuleImplementationExtension or null if not found in the extension registry
-
defaultImplementation
public static ModuleImplementationExtension defaultImplementation(String languageName)
Default implementation.- Parameters:
languageName
-- Returns:
- the module implementation extension
-
getClazz
public String getClazz()
Gets the clazz.- Returns:
- the clazz
-
getName
public String getName()
Gets the name.- Returns:
- the name
-
getLanguage
public String getLanguage()
Gets the language.- Returns:
- the language
-
isDefault
public boolean isDefault()
-
createDialog
public <T extends ModuleConfiguration> T createDialog() throws EpsilonDtException
Creates the dialog.- Type Parameters:
T
- the generic type- Returns:
- the t
- Throws:
EpsilonDtException
- the epsilon dt exception
-
createModule
public <T extends IModule> T createModule() throws org.eclipse.core.runtime.CoreException
Creates the module.- Type Parameters:
T
- the generic type- Returns:
- the t
- Throws:
org.eclipse.core.runtime.CoreException
- the core exception
-
-