Class ExporterHandler

java.lang.Object
tools.descartes.dlim.exporterHandler.ExporterHandler

public final class ExporterHandler extends Object
Handles all implementations of the Exporter extension point.
  • Field Details

  • Method Details

    • getHandlerSingleton

      public static ExporterHandler getHandlerSingleton()
      Get the Singleton for the Handler.
      Returns:
      the handler singleton
    • getExporterLabels

      public String[] getExporterLabels()
      Get the ordered List of all exporter labels.
      Returns:
      the exporter labels
    • executeExtension

      public void executeExtension(int exporterIndex, String projectPath, String modelPath, Sequence rootObject)
      Execute the exporter at index.
      Parameters:
      exporterIndex - index of Exporter plugin in the list of registered plugins
      projectPath - The Eclipse-project within which the DLIM instance is located.
      modelPath - The path of the DLIM instance.
      rootObject - The model root object.