Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornhauge2008-05-01 02:21:01 +0000
committernhauge2008-05-01 02:21:01 +0000
commitf581ac0ab1a6b106a03a5f9b0e4bd2a52acf582c (patch)
tree45cac5328bc68e1357397e44c3f41f46e6261719
parenteb2eaa2db2742519e0d03785828fc1b505fca866 (diff)
downloadwebtools.dali-f581ac0ab1a6b106a03a5f9b0e4bd2a52acf582c.tar.gz
webtools.dali-f581ac0ab1a6b106a03a5f9b0e4bd2a52acf582c.tar.xz
webtools.dali-f581ac0ab1a6b106a03a5f9b0e4bd2a52acf582c.zip
Fix some JDT UI access warnings.
-rw-r--r--jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/prefs/JpaPreferencePage.java6
-rw-r--r--jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/wizards/JpaFacetWizardPage.java6
2 files changed, 6 insertions, 6 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/prefs/JpaPreferencePage.java b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/prefs/JpaPreferencePage.java
index 39199fc32e..f1361e5f09 100644
--- a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/prefs/JpaPreferencePage.java
+++ b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/prefs/JpaPreferencePage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006, 2007 Oracle. All rights reserved.
+ * Copyright (c) 2006, 2008 Oracle. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0, which accompanies this distribution
* and is available at http://www.eclipse.org/legal/epl-v10.html.
@@ -12,7 +12,7 @@ package org.eclipse.jpt.ui.internal.prefs;
import java.io.IOException;
import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.internal.ui.preferences.UserLibraryPreferencePage;
+import org.eclipse.jdt.ui.JavaUI;
import org.eclipse.jface.preference.IPersistentPreferenceStore;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.preference.PreferencePage;
@@ -85,7 +85,7 @@ public class JpaPreferencePage extends PreferencePage
new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
((IWorkbenchPreferenceContainer) getContainer())
- .openPage(UserLibraryPreferencePage.ID, null);
+ .openPage(JavaUI.ID_USER_LIBRARY_PREFERENCE_PAGE, null);
}
}
);
diff --git a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/wizards/JpaFacetWizardPage.java b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/wizards/JpaFacetWizardPage.java
index 1dbee9ee18..361ec17a47 100644
--- a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/wizards/JpaFacetWizardPage.java
+++ b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/wizards/JpaFacetWizardPage.java
@@ -11,7 +11,7 @@ package org.eclipse.jpt.ui.internal.wizards;
import java.util.Iterator;
import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jdt.internal.ui.preferences.UserLibraryPreferencePage;
+import org.eclipse.jdt.ui.JavaUI;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.preference.PreferenceDialog;
import org.eclipse.jface.viewers.ComboViewer;
@@ -462,8 +462,8 @@ public class JpaFacetWizardPage extends DataModelFacetInstallPage
PreferenceDialog dlg =
PreferencesUtil.createPreferenceDialogOn(
getShell(),
- UserLibraryPreferencePage.ID,
- new String[] {UserLibraryPreferencePage.ID},
+ JavaUI.ID_USER_LIBRARY_PREFERENCE_PAGE,
+ new String[] {JavaUI.ID_USER_LIBRARY_PREFERENCE_PAGE},
null);
dlg.open();
model.notifyPropertyChange(JPA_LIBRARY, IDataModel.VALID_VALUES_CHG);

Back to the top