Organized imports
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / preferences / TodoTaskConfigurationBlock.java
index 5931d52..8512c55 100644 (file)
@@ -13,22 +13,8 @@ package net.sourceforge.phpdt.internal.ui.preferences;
 import java.util.ArrayList;
 import java.util.List;
 
-import org.eclipse.core.runtime.IStatus;
-
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-
-import org.eclipse.jface.viewers.ITableLabelProvider;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.jface.window.Window;
-
 import net.sourceforge.phpdt.core.IJavaProject;
 import net.sourceforge.phpdt.core.JavaCore;
-
 import net.sourceforge.phpdt.internal.ui.dialogs.StatusInfo;
 import net.sourceforge.phpdt.internal.ui.wizards.IStatusChangeListener;
 import net.sourceforge.phpdt.internal.ui.wizards.dialogfields.DialogField;
@@ -37,6 +23,17 @@ import net.sourceforge.phpdt.internal.ui.wizards.dialogfields.IListAdapter;
 import net.sourceforge.phpdt.internal.ui.wizards.dialogfields.LayoutUtil;
 import net.sourceforge.phpdt.internal.ui.wizards.dialogfields.ListDialogField;
 
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.jface.viewers.ITableLabelProvider;
+import org.eclipse.jface.viewers.LabelProvider;
+import org.eclipse.jface.window.Window;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.graphics.Image;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+
 /** 
   */
 public class TodoTaskConfigurationBlock extends OptionsConfigurationBlock {
@@ -104,7 +101,7 @@ public class TodoTaskConfigurationBlock extends OptionsConfigurationBlock {
        private ListDialogField fTodoTasksList;
 
        public TodoTaskConfigurationBlock(IStatusChangeListener context, IJavaProject project) {
-               super(context, project);
+               super(context, project, getKeys());
                                                
                TaskTagAdapter adapter=  new TaskTagAdapter();
                String[] buttons= new String[] {
@@ -134,7 +131,7 @@ public class TodoTaskConfigurationBlock extends OptionsConfigurationBlock {
                fTaskTagsStatus= new StatusInfo();              
        }
        
-       protected final String[] getAllKeys() {
+       private final static String[] getKeys() {
                return new String[] {
                        PREF_COMPILER_TASK_TAGS, PREF_COMPILER_TASK_PRIORITIES
                };      
@@ -217,7 +214,7 @@ public class TodoTaskConfigurationBlock extends OptionsConfigurationBlock {
        }       
 
        /* (non-Javadoc)
-        * @see org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock#performOk(boolean)
+        * @see net.sourceforge.phpdt.internal.ui.preferences.OptionsConfigurationBlock#performOk(boolean)
         */
        public boolean performOk(boolean enabled) {
                packTodoTasks();
@@ -237,7 +234,7 @@ public class TodoTaskConfigurationBlock extends OptionsConfigurationBlock {
        }       
        
        /* (non-Javadoc)
-        * @see org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock#updateControls()
+        * @see net.sourceforge.phpdt.internal.ui.preferences.OptionsConfigurationBlock#updateControls()
         */
        protected void updateControls() {
                unpackTodoTasks();