1) Fixed issue #828: Non initialized variable warnings doesn't work with variables...
[phpeclipse.git] / net.sourceforge.phpeclipse.webbrowser / src / net / sourceforge / phpeclipse / webbrowser / views / BrowserView.java
index 164a840..a5791e8 100644 (file)
@@ -12,16 +12,15 @@ package net.sourceforge.phpeclipse.webbrowser.views;
 
 import java.io.UnsupportedEncodingException;
 import java.net.URLDecoder;
-import java.nio.charset.Charset;
 
 import net.sourceforge.phpeclipse.webbrowser.internal.WebBrowser;
 import net.sourceforge.phpeclipse.webbrowser.internal.WebBrowserUtil;
 
 import org.eclipse.swt.browser.Browser;
 import org.eclipse.swt.browser.CloseWindowListener;
-import org.eclipse.swt.browser.ProgressListener;
-import org.eclipse.swt.browser.StatusTextListener;
-import org.eclipse.swt.browser.TitleListener;
+//import org.eclipse.swt.browser.ProgressListener;
+//import org.eclipse.swt.browser.StatusTextListener;
+//import org.eclipse.swt.browser.TitleListener;
 import org.eclipse.swt.browser.WindowEvent;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.ui.part.IShowInTarget;
@@ -152,23 +151,23 @@ public class BrowserView extends ViewPart implements IShowInTarget {
                }
        }
 
-       public void addProgressListener(ProgressListener listener) {
-               if (fInstance != null) {
-                       fInstance.addProgressListener(listener);
-               }
-       }
-
-       public void addStatusTextListener(StatusTextListener listener) {
-               if (fInstance != null) {
-                       fInstance.addStatusTextListener(listener);
-               }
-       }
-
-       public void addTitleListener(TitleListener listener) {
-               if (fInstance != null) {
-                       fInstance.addTitleListener(listener);
-               }
-       }
+//     public void addProgressListener(ProgressListener listener) {
+//             if (fInstance != null) {
+//                     fInstance.addProgressListener(listener);
+//             }
+//     }
+
+//     public void addStatusTextListener(StatusTextListener listener) {
+//             if (fInstance != null) {
+//                     fInstance.addStatusTextListener(listener);
+//             }
+//     }
+
+//     public void addTitleListener(TitleListener listener) {
+//             if (fInstance != null) {
+//                     fInstance.addTitleListener(listener);
+//             }
+//     }
 
        public boolean show(ShowInContext context) {
                if (context instanceof ShowInContextBrowser) {