|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.model.util.XtendTransformationUtil
public final class XtendTransformationUtil
Utitlity class to conveniently execute Xtend transformations.
Method Summary | |
---|---|
static XtendStatus |
model2ModelTransform(KielerProgressMonitor monitor,
String xtendFile,
String startFunction,
URI inputModelURI,
URI outputModelURI,
EPackage... involvedMetamodels)
This transformation uses the Xtend transformation language. |
static IStatus |
model2ModelTransform(String xtendFile,
String startFunction,
URI inputModelURI,
URI outputModelURI,
EPackage... involvedMetamodels)
This transformation uses the Xtend 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 model2ModelTransform(KielerProgressMonitor monitor, String xtendFile, String startFunction, URI inputModelURI, URI outputModelURI, EPackage... involvedMetamodels)
monitor
- if true a progress bar is displayedxtendFile
- filename that holds the xtend functionsstartFunction
- initial transformation functioninputModelURI
- EMF URI for input model (may be a local resource URI)outputModelURI
- EMF URI for output modelinvolvedMetamodels
- EPackages of metamodels that need to be known to the
transformation
public static IStatus model2ModelTransform(String xtendFile, String startFunction, URI inputModelURI, URI outputModelURI, EPackage... involvedMetamodels) throws KielerException
model2ModelTransform
but executes the transformation in a
MonitoredOperation an automatically pops up a progress bar.
xtendFile
- filename that holds the xtend functionsstartFunction
- initial transformation functioninputModelURI
- EMF URI for input model (may be a local resource URI)outputModelURI
- EMF URI for output modelinvolvedMetamodels
- EPackages of metamodels that need to be known to the
transformation
KielerException
- if something fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |