01: /**
02: *
03: */package refactor.utils;
04:
05: import java.util.Iterator;
06: import org.openarchitectureware.workflow.WorkflowContext;
07: import org.openarchitectureware.workflow.issues.Issues;
08: import org.openarchitectureware.workflow.lib.SimpleJavaModificationComponent;
09: import org.openarchitectureware.workflow.monitor.ProgressMonitor;
10:
11: /**
12: * @author sh
13: *
14: */
15: public class Transformer extends SimpleJavaModificationComponent {
16:
17: @Override
18: protected void doModification(WorkflowContext arg0,
19: ProgressMonitor arg1, Issues arg2, Object arg3) {
20:
21: /*
22: newprocess.Process process = (newprocess.Process)arg3;
23: NewprocessFactory f = NewprocessPackage.eINSTANCE.getNewprocessFactory();
24:
25: for(Iterator iter = process.getHasActors().iterator(); iter.hasNext();) {
26: Actor a = (Actor)iter.next();
27: a.setName("fooActorTransformator");
28: }
29: */
30: }
31: }
|