avoid NullPointerException in debug
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / preferences / PHPProjectLibraryPage.java
index bd918f6..98fe54d 100644 (file)
@@ -26,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;
@@ -87,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) {