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 Details

    • ModuleImplementationExtension

      public ModuleImplementationExtension(org.eclipse.core.runtime.IConfigurationElement configurationElement)
      Instantiates a new module implementation extension.
      Parameters:
      configurationElement - the configuration element
  • Method Details

    • 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