avoid NullPointerException in debug
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / preferences / PHPProjectLibraryPage.java
index 4a69135..98fe54d 100644 (file)
@@ -6,7 +6,6 @@ import java.util.Iterator;
 import java.util.List;
 
 import net.sourceforge.phpdt.internal.core.JavaProject;
-import net.sourceforge.phpdt.internal.ui.preferences.PHPEditorPreferencePage;
 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 
 import org.eclipse.core.resources.IProject;
@@ -27,8 +26,8 @@ import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Control;
 import org.eclipse.swt.widgets.Table;
 import org.eclipse.swt.widgets.TableColumn;
-import org.eclipse.ui.ISharedImages;
 import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.ide.IDE.SharedImages;
 
 public class PHPProjectLibraryPage {
   protected JavaProject workingProject;
@@ -88,7 +87,7 @@ public class PHPProjectLibraryPage {
     ITableLabelProvider labelProvider = new ITableLabelProvider() {
       public Image getColumnImage(Object element, int columnIndex) {
         IWorkbench workbench = PHPeclipsePlugin.getDefault().getWorkbench();
-        return workbench.getSharedImages().getImage(ISharedImages.IMG_OBJ_PROJECT);
+        return workbench.getSharedImages().getImage(SharedImages.IMG_OBJ_PROJECT);
       }
 
       public String getColumnText(Object element, int columnIndex) {