A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse.webbrowser / src / net / sourceforge / phpeclipse / webbrowser / ExtendedBrowser.java
1 /**
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
7  �*
8  * Contributors:
9  *    IBM - Initial API and implementation
10  */
11 package net.sourceforge.phpeclipse.webbrowser;
12
13 import net.sourceforge.phpeclipse.webbrowser.internal.WebBrowser;
14
15 import org.eclipse.swt.browser.Browser;
16 import org.eclipse.swt.widgets.Composite;
17
18 /**
19  * Web browser widget. Extends the eclipse Browser widget by adding an optional
20  * toolbar and statusbar.
21  */
22 public class ExtendedBrowser extends WebBrowser {
23         public ExtendedBrowser(Composite parent, final boolean showToolbar,
24                         final boolean showStatusbar) {
25                 super(parent, showToolbar, showStatusbar);
26         }
27
28         /**
29          * Return the underlying browser control.
30          * 
31          * @return org.eclipse.swt.browser.Browser
32          */
33         public Browser getBrowser() {
34                 return browser;
35         }
36
37         public void home() {
38                 super.home();
39         }
40
41         public void setURL(String url) {
42                 super.setURL(url);
43         }
44 }