Class ModuleImplementationExtension
java.lang.Object
org.eclipse.epsilon.common.dt.launching.extensions.ModuleImplementationExtension
The Module Implementation Extension stores configuration information about existing module
implementations.
- Author:
- Horacio Hoyos Rodriguez
-
Constructor Summary
ConstructorsConstructorDescriptionModuleImplementationExtension
(org.eclipse.core.runtime.IConfigurationElement configurationElement) Instantiates a new module implementation extension. -
Method Summary
Modifier and TypeMethodDescription<T extends ModuleConfiguration>
TCreates the dialog.<T extends IModule>
TCreates the module.defaultImplementation
(String languageName) Default implementation.forImplementation
(String languageName, String implName) Get the ModuleImplementationExtension for a specific implementation.getClazz()
Gets the clazz.Gets the language.getName()
Gets the name.boolean
-
Constructor Details
-
ModuleImplementationExtension
public ModuleImplementationExtension(org.eclipse.core.runtime.IConfigurationElement configurationElement) Instantiates a new module implementation extension.- Parameters:
configurationElement
- the configuration element
-
-
Method Details
-
forImplementation
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
Default implementation.- Parameters:
languageName
-- Returns:
- the module implementation extension
-
getClazz
Gets the clazz.- Returns:
- the clazz
-
getName
Gets the name.- Returns:
- the name
-
getLanguage
Gets the language.- Returns:
- the language
-
isDefault
public boolean isDefault() -
createDialog
Creates the dialog.- Type Parameters:
T
- the generic type- Returns:
- the t
- Throws:
EpsilonDtException
- the epsilon dt exception
-
createModule
Creates the module.- Type Parameters:
T
- the generic type- Returns:
- the t
- Throws:
org.eclipse.core.runtime.CoreException
- the core exception
-