]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.district.network.ui/src/org/simantics/district/network/ui/prefs/DistrictPreferencePage.java
Fixed District diagram viewer to allow moving of vertices again.
[simantics/district.git] / org.simantics.district.network.ui / src / org / simantics / district / network / ui / prefs / DistrictPreferencePage.java
1 package org.simantics.district.network.ui.prefs;
2
3 import org.eclipse.core.runtime.preferences.InstanceScope;
4 import org.eclipse.jface.preference.FieldEditorPreferencePage;
5 import org.eclipse.jface.preference.IPreferenceStore;
6 import org.eclipse.ui.IWorkbench;
7 import org.eclipse.ui.IWorkbenchPreferencePage;
8 import org.eclipse.ui.preferences.ScopedPreferenceStore;
9 import org.simantics.district.network.ui.internal.Activator;
10
11 public class DistrictPreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage {
12
13     public DistrictPreferencePage() {
14         super(GRID);
15         setDescription("District preferences");
16     }
17     
18     @Override
19     public void init(IWorkbench workbench) {
20         
21     }
22     
23     @Override
24     protected IPreferenceStore doGetPreferenceStore() {
25         return new ScopedPreferenceStore(InstanceScope.INSTANCE, Activator.PLUGIN_ID);
26     }
27
28     @Override
29     protected void createFieldEditors() {
30
31     }
32
33 }