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 org.eclipse.webbrowser;
13 import org.eclipse.swt.browser.Browser;
14 import org.eclipse.swt.widgets.Composite;
15 import org.eclipse.webbrowser.internal.WebBrowser;
17 * Web browser widget. Extends the eclipse Browser widget by adding an
18 * optional toolbar and statusbar.
20 public class ExtendedBrowser extends WebBrowser {
21 public ExtendedBrowser(Composite parent, final boolean showToolbar, final boolean showStatusbar) {
22 super(parent, showToolbar, showStatusbar);
26 * Return the underlying browser control.
28 * @return org.eclipse.swt.browser.Browser
30 public Browser getBrowser() {
38 public void setURL(String url) {