some refactoring in the code analysis
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / ShowExternalPreviewAction.java
index c00e308..7ab6f16 100644 (file)
@@ -25,7 +25,6 @@ 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;
 
 /**
@@ -73,7 +72,7 @@ public class ShowExternalPreviewAction extends TextEditorAction {
           page.bringToTop(part);
         ((IEmbeddedWebBrowser) part).openTo(localhostURL);
       } catch (PartInitException e) {
-        UpdateUIPlugin.logException(e);
+        PHPeclipsePlugin.log(e);
       }
     }