Class ExporterHandler
java.lang.Object
tools.descartes.dlim.exporterHandler.ExporterHandler
Handles all implementations of the Exporter extension point.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
executeExtension
(int exporterIndex, String projectPath, String modelPath, Sequence rootObject) Execute the exporter at index.String[]
Get the ordered List of all exporter labels.static ExporterHandler
Get the Singleton for the Handler.
-
Field Details
-
IEXPORTER_ID
Extension Point ID.- See Also:
-
-
Method Details
-
getHandlerSingleton
Get the Singleton for the Handler.- Returns:
- the handler singleton
-
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 pluginsprojectPath
- The Eclipse-project within which the DLIM instance is located.modelPath
- The path of the DLIM instance.rootObject
- The model root object.
-