de.cau.cs.kieler.core.model.xtend.m2m
Class XtendTransformationEffect

java.lang.Object
  extended by de.cau.cs.kieler.core.kivi.AbstractEffect
      extended by de.cau.cs.kieler.core.model.effects.TransformationEffect
          extended by de.cau.cs.kieler.core.model.xtend.m2m.XtendTransformationEffect
All Implemented Interfaces:
IEffect

public class XtendTransformationEffect
extends TransformationEffect

Xtend implementation of an TransformationEffect.

Rating green
(2011-02-14) review by msp, haf

Constructor Summary
XtendTransformationEffect(ITransformationContext context, TransformationDescriptor descriptor)
           
XtendTransformationEffect(String extentionFile, String[] basePackages, String transformationName, Object[] parameters, TransactionalEditingDomain theEditingDomain, Map<String,org.eclipse.xtend.expression.Variable> globalVars)
           
 
Method Summary
 
Methods inherited from class de.cau.cs.kieler.core.model.effects.TransformationEffect
execute, getResult, setContext, setDescriptor
 
Methods inherited from class de.cau.cs.kieler.core.kivi.AbstractEffect
isMergeable, merge, schedule, scheduleUndo, toString, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XtendTransformationEffect

public XtendTransformationEffect(ITransformationContext context,
                                 TransformationDescriptor descriptor)
Parameters:
context - ITransformationContext containing all necessary information in order to execute the transformation.
descriptor - The transformation's TransformationDescriptor

XtendTransformationEffect

public XtendTransformationEffect(String extentionFile,
                                 String[] basePackages,
                                 String transformationName,
                                 Object[] parameters,
                                 TransactionalEditingDomain theEditingDomain,
                                 Map<String,org.eclipse.xtend.expression.Variable> globalVars)
Parameters:
extentionFile - the path to the file containing the extensions.
basePackages - all meta models that are required to execute this transformation.
transformationName - the name of the transformation that should be executed
parameters - an array of the parameters that should be passed to the transformation
theEditingDomain - TransactionalEditingDomain in which the transformation should be executed. May be null.
globalVars - A Map containing global variables. May be null.