reduced dependencies
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / preferences / GlobalPreferences.java
index 01c9eb6..079ca43 100644 (file)
@@ -1,15 +1,14 @@
 package com.quantum.preferences;
 
 
-import com.quantum.Messages;
-import com.quantum.QuantumPlugin;
-
 import org.eclipse.jface.preference.FieldEditorPreferencePage;
-import org.eclipse.jface.preference.IPreferenceStore;
 import org.eclipse.jface.preference.IntegerFieldEditor;
 import org.eclipse.ui.IWorkbench;
 import org.eclipse.ui.IWorkbenchPreferencePage;
 
+import com.quantum.Messages;
+import com.quantum.QuantumPlugin;
+
 /**
  * PreferencePage for the global options on QuantumDB
  * @author panic
@@ -21,19 +20,12 @@ implements IWorkbenchPreferencePage {
 
        public GlobalPreferences() {
                super(FieldEditorPreferencePage.GRID);
-               
-               // Set the preference store for the preference page.
-               IPreferenceStore store =
-                       QuantumPlugin.getDefault().getPreferenceStore();
-               setPreferenceStore(store);
+               setPreferenceStore(QuantumPlugin.getDefault().getPreferenceStore());
        }
 
        public void init(IWorkbench workbench) {
-               this.workbench = workbench;
        }
 
-       IWorkbench workbench;
-               
        protected void createFieldEditors() {
         IntegerFieldEditor queryHistorySize = new IntegerFieldEditor(
             "com.quantum.model.Bookmark.queryHistorySize",