net.sf.nakeduml.javageneration.AbstractJavaTransformationStep Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of metamodel Show documentation
Show all versions of metamodel Show documentation
A uml code generator and execution engine
The newest version!
package net.sf.nakeduml.javageneration;
import net.sf.nakeduml.feature.NakedUmlConfig;
import net.sf.nakeduml.feature.TransformationContext;
import net.sf.nakeduml.feature.TransformationStep;
import net.sf.nakeduml.javametamodel.OJPackage;
import net.sf.nakeduml.metamodel.workspace.INakedModelWorkspace;
import net.sf.nakeduml.textmetamodel.TextWorkspace;
public abstract class AbstractJavaTransformationStep implements TransformationStep {
protected OJPackage javaModel;
protected NakedUmlConfig config;
protected TextWorkspace textWorkspace;
public void initialize(OJPackage pac, NakedUmlConfig config, TextWorkspace textWorkspace) {
this.javaModel = pac;
this.config = config;
this.textWorkspace = textWorkspace;
}
public abstract void generate(INakedModelWorkspace workspace, TransformationContext context);
}