created xdebug launch configuration icon
[phpeclipse.git] / net.sourceforge.phpeclipse.webbrowser / src / net / sourceforge / phpeclipse / webbrowser / internal / WebBrowserPreferencePage.java
index 7559114..cda95fd 100644 (file)
@@ -20,7 +20,7 @@ import org.eclipse.swt.widgets.Control;
 import org.eclipse.swt.widgets.Label;
 import org.eclipse.ui.IWorkbench;
 import org.eclipse.ui.IWorkbenchPreferencePage;
-import org.eclipse.ui.help.WorkbenchHelp;
+import org.eclipse.ui.PlatformUI;
 /**
  * The preference page that holds webbrowser preferences.
  */
@@ -41,7 +41,7 @@ public class WebBrowserPreferencePage extends PreferencePage implements IWorkben
         */
        protected Control createContents(Composite parent) {
                initializeDialogUnits(parent);
-               
+
                Composite composite = new Composite(parent, SWT.NONE);
                GridLayout layout = new GridLayout();
                layout.numColumns = 1;
@@ -52,32 +52,32 @@ public class WebBrowserPreferencePage extends PreferencePage implements IWorkben
                composite.setLayout(layout);
                GridData data = new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL);
                composite.setLayoutData(data);
-               WorkbenchHelp.setHelp(composite, ContextIds.PREF_BROWSER);
-               
+               PlatformUI.getWorkbench().getHelpSystem().setHelp(composite, ContextIds.PREF_BROWSER);
+
                Label label = new Label(composite, SWT.WRAP);
                label.setText(WebBrowserUIPlugin.getResource("%preferenceWebBrowserDescription"));
                data = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
                label.setLayoutData(data);
-               
+
                BrowserTableComposite browserComposite = new BrowserTableComposite(composite, SWT.NONE);
-               
+
                data = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
                browserComposite.setLayoutData(data);
-               
+
                Dialog.applyDialogFont(composite);
-               
+
                return composite;
        }
-       
+
        /**
         * Initializes this preference page using the passed desktop.
         *
         * @param desktop the current desktop
         */
        public void init(IWorkbench workbench) { }
-       
+
        /**
-        * 
+        *
         */
        public void setVisible(boolean visible) {
                super.setVisible(visible);