diff options
author | kmoore | 2011-02-10 00:09:55 +0000 |
---|---|---|
committer | kmoore | 2011-02-10 00:09:55 +0000 |
commit | 14134d233cab24c394383fe46a50fe0625a16fce (patch) | |
tree | 7f6a8b11b9eacda80114b67f112f9cb94d43a442 | |
parent | b61e31e7ce9c857779b6ec7bd5085d1ccd779a49 (diff) | |
download | webtools.dali-14134d233cab24c394383fe46a50fe0625a16fce.tar.gz webtools.dali-14134d233cab24c394383fe46a50fe0625a16fce.tar.xz webtools.dali-14134d233cab24c394383fe46a50fe0625a16fce.zip |
changed preferences back to org.eclipse.jpt.core so as not to break project metadata
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/JptJpaCorePlugin.java | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/JptJpaCorePlugin.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/JptJpaCorePlugin.java index 36c3dbf976..5615ba87f1 100644 --- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/JptJpaCorePlugin.java +++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/JptJpaCorePlugin.java @@ -80,10 +80,17 @@ public class JptJpaCorePlugin public static final String PLUGIN_ID_ = PLUGIN_ID + '.'; /** + * The legacy plug-in identifier of the persistence support, used for project preferences + * (value <code>"org.eclipse.jpt.core"</code>). + */ + public static final String LEGACY_PLUGIN_ID = "org.eclipse.jpt.core"; //$NON-NLS-1$ + public static final String LEGACY_PLUGIN_ID_ = LEGACY_PLUGIN_ID + '.'; + + /** * The key for storing a JPA project's platform ID in the Eclipse * project's preferences. */ - private static final String JPA_PLATFORM_PREF_KEY = PLUGIN_ID_ + "platform"; //$NON-NLS-1$ + private static final String JPA_PLATFORM_PREF_KEY = LEGACY_PLUGIN_ID_ + "platform"; //$NON-NLS-1$ /** * The old key for storing the default JPA platform ID in the workspace preferences. @@ -394,7 +401,7 @@ public class JptJpaCorePlugin * Return the Dali preferences for the specified context. */ private static IEclipsePreferences getPreferences(IScopeContext context) { - return context.getNode(PLUGIN_ID); + return context.getNode(LEGACY_PLUGIN_ID); } /** |