Eclipse 3.x compatible;
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / PHPPerspectiveFactory.java
index 8c9a4f0..0f29b99 100644 (file)
@@ -5,7 +5,7 @@ import org.eclipse.swt.SWT;
 import org.eclipse.ui.IFolderLayout;
 import org.eclipse.ui.IPageLayout;
 import org.eclipse.ui.IPerspectiveFactory;
-import org.eclipse.update.internal.ui.UpdatePerspective;
+//import org.eclipse.update.internal.ui.UpdatePerspective;
 
 public class PHPPerspectiveFactory implements IPerspectiveFactory {
 
@@ -31,9 +31,9 @@ public class PHPPerspectiveFactory implements IPerspectiveFactory {
 
     consoleArea.addView(IPageLayout.ID_TASK_LIST);
     consoleArea.addView(IDebugUIConstants.ID_CONSOLE_VIEW);
-    if (SWT.getPlatform().equals("win32")) {
-      consoleArea.addView(UpdatePerspective.ID_BROWSER);
-    }
+//    if (SWT.getPlatform().equals("win32")) {
+//      consoleArea.addView(UpdatePerspective.ID_BROWSER);
+//    }
     consoleArea.addView(IPageLayout.ID_BOOKMARKS);
 
     layout.addView( 
@@ -47,9 +47,9 @@ public class PHPPerspectiveFactory implements IPerspectiveFactory {
     layout.addActionSet(PHPeclipsePlugin.PHP_CODING_ACTION_SET_ID);
 
     layout.addShowViewShortcut(IDebugUIConstants.ID_CONSOLE_VIEW);
-    if (SWT.getPlatform().equals("win32")) {
-      layout.addShowViewShortcut(UpdatePerspective.ID_BROWSER);
-    }
+//    if (SWT.getPlatform().equals("win32")) {
+//      layout.addShowViewShortcut(UpdatePerspective.ID_BROWSER);
+//    }
 
     // layout.addShowViewShortcut(PHPeclipsePlugin.PHP_RESOURCES_VIEW_ID);