|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.model.transformation.xtend.XtendTransformationFramework
public class XtendTransformationFramework
An implementation of the ITransformationFramework interface for the use with the Xtend framework.
Constructor Summary | |
---|---|
XtendTransformationFramework()
Creates a new Xtend component. |
Method Summary | |
---|---|
Object |
executeTransformation()
Executes a transformation. |
String |
getFileExtension()
The default file extension for Xtend is 'ext'. |
boolean |
initializeTransformation(String fileName,
String operation,
String... basePackages)
Initializes a transformation using the XtendFacade. |
List<AbstractTransformation> |
parseInPlaceTransformations(URL fileName)
Parses in-place transformations from an Xtend file. |
void |
setParameters(Object... parameter)
Sets the actual parameters. |
boolean |
setParameters(String... parameter)
Sets the transformation parameters by matching the current selection with the given list of types. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XtendTransformationFramework()
Method Detail |
---|
public void setParameters(Object... parameter)
setParameters
in interface ITransformationFramework
parameter
- The parameters.public boolean setParameters(String... parameter)
setParameters
in interface ITransformationFramework
parameter
- The list of parameter types.
public boolean initializeTransformation(String fileName, String operation, String... basePackages)
initializeTransformation
in interface ITransformationFramework
fileName
- The extension file nameoperation
- The extension to executebasePackages
- The class name of the editors EPackage
public Object executeTransformation()
executeTransformation
in interface ITransformationFramework
public List<AbstractTransformation> parseInPlaceTransformations(URL fileName)
parseInPlaceTransformations
in interface ITransformationFramework
fileName
- a URL to the transformation file
public String getFileExtension()
getFileExtension
in interface ITransformationFramework
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |