|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.model.xtend.util.XpandTransformationUtil
public final class XpandTransformationUtil
Utility class for performing model to text transformations using xpand.
Method Summary | |
---|---|
static XtendStatus |
model2TextTransform(KielerProgressMonitor monitor,
String xpandFile,
String startFunction,
URI inputModelURI,
String outPath,
EPackage... modelPackages)
This transformation uses the xpand transformation language. |
static XtendStatus |
model2TextTransform(KielerProgressMonitor monitor,
String xpandFile,
String startFunction,
URI inputModelURI,
String outPath,
org.eclipse.xpand2.output.PostProcessor postProcessor,
EPackage... modelPackages)
This transformation uses the xpand transformation language. |
static XtendStatus |
model2TextTransform(String xpandFile,
String startFunction,
URI inputModelURI,
String outPath,
EPackage... modelPackages)
This transformation uses the xpand transformation language. |
static XtendStatus |
model2TextTransform(String xpandFile,
String startFunction,
URI inputModelURI,
String outPath,
org.eclipse.xpand2.output.PostProcessor postProcessor,
EPackage... modelPackages)
This transformation uses the xpand transformation language. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static XtendStatus model2TextTransform(KielerProgressMonitor monitor, String xpandFile, String startFunction, URI inputModelURI, String outPath, EPackage... modelPackages)
monitor
- if true a progress bar is displayedxpandFile
- filename that holds the xpand functionsstartFunction
- initial transformation functioninputModelURI
- EMF URI for input model (may be a local resource URI)outPath
- the output pathmodelPackages
- EPackage of the metamodels that need to be known to the transformation
public static XtendStatus model2TextTransform(KielerProgressMonitor monitor, String xpandFile, String startFunction, URI inputModelURI, String outPath, org.eclipse.xpand2.output.PostProcessor postProcessor, EPackage... modelPackages)
monitor
- if true a progress bar is displayedxpandFile
- filename that holds the xpand functionsstartFunction
- initial transformation functioninputModelURI
- EMF URI for input model (may be a local resource URI)outPath
- the output pathpostProcessor
- the post processormodelPackages
- EPackage of the metamodels that need to be known to the transformation
public static XtendStatus model2TextTransform(String xpandFile, String startFunction, URI inputModelURI, String outPath, EPackage... modelPackages) throws TransformException
model2TextTransform
but executes the transformation in a MonitoredOperation and
automatically pops up a progress bar.
xpandFile
- filename that holds the xpand functionsstartFunction
- initial transformation functioninputModelURI
- EMF URI for input model (may be a local resource URI)outPath
- the output path of the transformationmodelPackages
- EPackages of the metamodels that need to be known to the transformation
TransformException
- if something failspublic static XtendStatus model2TextTransform(String xpandFile, String startFunction, URI inputModelURI, String outPath, org.eclipse.xpand2.output.PostProcessor postProcessor, EPackage... modelPackages) throws TransformException
xpandFile
- filename that holds the xpand functionsstartFunction
- initial transformation functioninputModelURI
- EMF URI for input model (may be a local resource URI)outPath
- the output path of the transformationpostProcessor
- the post processormodelPackages
- EPackages of the metamodels that need to be known to the transformation
TransformException
- if something fails model2TextTransform
but executes the transformation in
a MonitoredOperation and automatically pops up a progress bar.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |