History-Research-Environment / HRE--History-Research-Environment

Main repo for HRE code
https://historyresearchenvironment.org/
GNU Affero General Public License v3.0
32 stars 6 forks source link

Core: Preferences implementation is not consistent between preference pages and underlying engine. #54

Closed MichaelErichsen closed 6 years ago

MichaelErichsen commented 6 years ago

org.osgi.service.prefs.Preferences; Preferences preferences = InstanceScope.INSTANCE.getNode("org.historyresearchenvironment");

import org.eclipse.core.runtime.preferences.DefaultScope; import org.eclipse.core.runtime.preferences.IEclipsePreferences; import org.eclipse.core.runtime.preferences.IScopeContext; import org.eclipse.core.runtime.preferences.IEclipsePreferences.INodeChangeListener; import org.eclipse.core.runtime.preferences.IEclipsePreferences.NodeChangeEvent; import org.eclipse.core.runtime.preferences.IEclipsePreferences.PreferenceChangeEvent;

public interface IEclipsePreferences extends Preferences final IEclipsePreferences iep = InstanceScope.INSTANCE.getNode("org.historyresearchenvironment.usergui");

MichaelErichsen commented 6 years ago

Changed all Preferences to IEclipsePreferences