import org.eclipse.ui.PartInitException;
import org.eclipse.ui.texteditor.ITextEditor;
import org.eclipse.ui.texteditor.TextEditorAction;
-import org.eclipse.update.internal.ui.UpdatePerspective;
-import org.eclipse.update.internal.ui.UpdateUIPlugin;
-import org.eclipse.update.internal.ui.views.IEmbeddedWebBrowser;
+//import org.eclipse.update.internal.ui.UpdatePerspective;
+//import org.eclipse.update.internal.ui.views.IEmbeddedWebBrowser;
/**
* ClassDeclaration that defines the action for parsing the current PHP file
return;
}
- if (SWT.getPlatform().equals("win32")) {
- String localhostURL;
- if ((localhostURL = PHPEclipseShowAction.getLocalhostURL(null, fileToParse)) == null) {
- return;
- }
- IWorkbenchPage page = PHPeclipsePlugin.getActivePage();
- try {
- IViewPart part = page.findView(UpdatePerspective.ID_BROWSER);
- if (part == null) {
- part = page.showView(UpdatePerspective.ID_BROWSER);
- } else
- page.bringToTop(part);
- ((IEmbeddedWebBrowser) part).openTo(localhostURL);
- } catch (PartInitException e) {
- UpdateUIPlugin.logException(e);
- }
- }
+// if (SWT.getPlatform().equals("win32")) {
+// String localhostURL;
+// if ((localhostURL = PHPEclipseShowAction.getLocalhostURL(null, fileToParse)) == null) {
+// return;
+// }
+// IWorkbenchPage page = PHPeclipsePlugin.getActivePage();
+// try {
+// IViewPart part = page.findView(UpdatePerspective.ID_BROWSER);
+// if (part == null) {
+// part = page.showView(UpdatePerspective.ID_BROWSER);
+// } else
+// page.bringToTop(part);
+// ((IEmbeddedWebBrowser) part).openTo(localhostURL);
+// } catch (PartInitException e) {
+// PHPeclipsePlugin.log(e);
+// }
+// }
}