|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMTLLaunchingStrategy
An internal extension point is defined to specify multiple launching strategies. It is used to define a specific way of launching an MTL generation. The extension point "org.eclipse.mtl.ide.ui.launching" requires a fully qualified name of a Java class implementing this interface.
MTLPluginLaunchingStrategy| Field Summary | |
|---|---|
static java.lang.String |
LAUNCHING_STRATEGY_EXTENSION_ID
The identifier of the internal extension point specifying the implementation to use for launching strategy. |
| Method Summary | |
|---|---|
void |
doGenerate(Module module,
java.util.List<java.lang.String> templateNames,
org.eclipse.emf.ecore.EObject model,
java.util.List<? extends java.lang.Object> arguments,
java.io.File generationRoot)
Launches the generation for a list of MTL templates. |
| Field Detail |
|---|
static final java.lang.String LAUNCHING_STRATEGY_EXTENSION_ID
| Method Detail |
|---|
void doGenerate(Module module,
java.util.List<java.lang.String> templateNames,
org.eclipse.emf.ecore.EObject model,
java.util.List<? extends java.lang.Object> arguments,
java.io.File generationRoot)
module - the moduletemplateNames - names of the module templates that are to be generatedmodel - input model for these MTL templatesarguments - arguments of the template callgenerationRoot - this will be used as the root for the generated files. This can be null, in
which case the user home directory should be used as root.
|
Copyright 2008 Obeo All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||