package org.simantics.district.network.ui.prefs; import org.eclipse.core.runtime.preferences.InstanceScope; import org.eclipse.jface.preference.FieldEditorPreferencePage; import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.ui.IWorkbench; import org.eclipse.ui.IWorkbenchPreferencePage; import org.eclipse.ui.preferences.ScopedPreferenceStore; import org.simantics.district.network.ui.internal.Activator; public class DistrictPreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage { public DistrictPreferencePage() { super(GRID); setDescription("District preferences"); } @Override public void init(IWorkbench workbench) { } @Override protected IPreferenceStore doGetPreferenceStore() { return new ScopedPreferenceStore(InstanceScope.INSTANCE, Activator.PLUGIN_ID); } @Override protected void createFieldEditors() { } }