Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2012-05-14 14:29:38 -0400
committerLars Vogel2012-05-14 14:29:38 -0400
commitf6ea4efe55c899d059db0177da0f6d1ab847897c (patch)
tree2a8ca24923dfcafa5d54dbe71bd4b98386711fd8
parentc9ec896edf4d1ad33b92a9c4206c1284dd290261 (diff)
downloadorg.eclipse.e4.tools-f6ea4efe55c899d059db0177da0f6d1ab847897c.tar.gz
org.eclipse.e4.tools-f6ea4efe55c899d059db0177da0f6d1ab847897c.tar.xz
org.eclipse.e4.tools-f6ea4efe55c899d059db0177da0f6d1ab847897c.zip
Bug 379459 - [Tooling] Changing default in the Preferences for Autogenerated ID's to true
-rw-r--r--bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/PreferenceInitializer.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/PreferenceInitializer.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/PreferenceInitializer.java
index bcfc2bbe..2068b5c2 100644
--- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/PreferenceInitializer.java
+++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/PreferenceInitializer.java
@@ -26,6 +26,10 @@ public class PreferenceInitializer extends AbstractPreferenceInitializer {
String val = StringConverter.asString(new RGB(200, 200, 200));
pref.put("notVisibleAndRenderedColor", val);
}
+
+ if (pref.get("autoCreateElementId", null) == null) {
+ pref.putBoolean("autoCreateElementId", true);
+ }
}
}

Back to the top