Index: src/org/jboss/tools/jbpm/preferences/JbpmLocationsPage.java =================================================================== --- src/org/jboss/tools/jbpm/preferences/JbpmLocationsPage.java (revision 21453) +++ src/org/jboss/tools/jbpm/preferences/JbpmLocationsPage.java (working copy) @@ -296,7 +296,7 @@ if (item != null) { name = item.getText(0); } - Activator.getDefault().getPluginPreferences().setValue(Constants.JBPM_NAME, name); + Activator.getDefault().getPreferenceStore().setValue(Constants.JBPM_NAME, name); return true; } @@ -309,7 +309,7 @@ } public void performDefaults() { - Activator.getDefault().getPluginPreferences().setToDefault(Constants.JBPM_NAME); + Activator.getDefault().getPreferenceStore().setToDefault(Constants.JBPM_NAME); PreferencesManager inputManager = (PreferencesManager)tableViewer.getInput(); inputManager.getJbpmInstallationMap().clear(); Index: src/org/jboss/tools/jbpm/preferences/PreferencesManager.java =================================================================== --- src/org/jboss/tools/jbpm/preferences/PreferencesManager.java (revision 21453) +++ src/org/jboss/tools/jbpm/preferences/PreferencesManager.java (working copy) @@ -31,7 +31,7 @@ import java.util.Iterator; import java.util.Map; -import org.eclipse.core.runtime.Preferences; +import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.ui.IMemento; import org.eclipse.ui.WorkbenchException; import org.eclipse.ui.XMLMemento; @@ -70,8 +70,8 @@ return jbpmInstallations; } - protected Preferences getPreferences() { - return Activator.getDefault().getPluginPreferences(); + private IPreferenceStore getPreferenceStore() { + return Activator.getDefault().getPreferenceStore(); } private void initializeInstallations() { @@ -163,11 +163,11 @@ } public String getPreferredJbpmName() { - return getPreferences().getString(Constants.JBPM_NAME); + return getPreferenceStore().getString(Constants.JBPM_NAME); } public void setPreferredJbpmName(String name) { - getPreferences().setDefault(Constants.JBPM_NAME, name); + getPreferenceStore().setValue(Constants.JBPM_NAME, name); } public void addJbpmInstallation(String name, String location, String version) {