2 * Copyright (c) 2004 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM - Initial API and implementation
11 package net.sourceforge.phpeclipse.webbrowser;
13 import net.sourceforge.phpeclipse.webbrowser.internal.WebBrowser;
15 import org.eclipse.swt.browser.Browser;
16 import org.eclipse.swt.widgets.Composite;
18 * Web browser widget. Extends the eclipse Browser widget by adding an
19 * optional toolbar and statusbar.
21 public class ExtendedBrowser extends WebBrowser {
22 public ExtendedBrowser(Composite parent, final boolean showToolbar, final boolean showStatusbar) {
23 super(parent, showToolbar, showStatusbar);
27 * Return the underlying browser control.
29 * @return org.eclipse.swt.browser.Browser
31 public Browser getBrowser() {
39 public void setURL(String url) {