Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordstadnik2007-04-19 05:55:13 -0400
committerdstadnik2007-04-19 05:55:13 -0400
commitad114a113cecc5fe4994294c4b9cb3e3a220a6ec (patch)
tree0a28da1d782553ff1c3ca3fac0878f30194147ed
parentc28a371e918321a7d1e83cbb29592e7ed095c93d (diff)
downloadorg.eclipse.gmf-tooling-ad114a113cecc5fe4994294c4b9cb3e3a220a6ec.tar.gz
org.eclipse.gmf-tooling-ad114a113cecc5fe4994294c4b9cb3e3a220a6ec.tar.xz
org.eclipse.gmf-tooling-ad114a113cecc5fe4994294c4b9cb3e3a220a6ec.zip
use enum
-rw-r--r--plugins/org.eclipse.gmf.bridge.ui/src/org/eclipse/gmf/internal/bridge/transform/TransformToGenModelOperation.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.gmf.bridge.ui/src/org/eclipse/gmf/internal/bridge/transform/TransformToGenModelOperation.java b/plugins/org.eclipse.gmf.bridge.ui/src/org/eclipse/gmf/internal/bridge/transform/TransformToGenModelOperation.java
index 0cafa6e61..778b57b04 100644
--- a/plugins/org.eclipse.gmf.bridge.ui/src/org/eclipse/gmf/internal/bridge/transform/TransformToGenModelOperation.java
+++ b/plugins/org.eclipse.gmf.bridge.ui/src/org/eclipse/gmf/internal/bridge/transform/TransformToGenModelOperation.java
@@ -266,9 +266,9 @@ public class TransformToGenModelOperation {
reconcile(rs, genEditor);
}
GenNamingMediatorImpl namer = new GenNamingMediatorImpl();
- namer.setMode(GenNamingMediatorImpl.COLLECT_NAMES_MODE);
+ namer.setMode(GenNamingMediatorImpl.Mode.COLLECT_NAMES);
namer.traverse(genEditor); // collect reconciled names
- namer.setMode(GenNamingMediatorImpl.DISPENSE_NAMES_MODE);
+ namer.setMode(GenNamingMediatorImpl.Mode.DISPENSE_NAMES);
namer.traverse(genEditor); // dispense names to new elements
monitor.worked(20);
if (monitor.isCanceled()) {

Back to the top