All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.nakeduml.javageneration.AbstractJavaTransformationStep Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy