Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.browser
Interface IWebBrowser

All Known Implementing Classes:
AbstractWebBrowser

public interface IWebBrowser

An opened Web browser instance (either internal or external).

This interface is not intended to be implemented by clients.

Since:
3.1
See Also:
IWorkbenchBrowserSupport
Restriction:
This interface is not intended to be implemented by clients.

Method Summary
 boolean close ()
          Closes this browser instance.
  String getId ()
          Returns the unique identifier of this browser.
 void openURL ( URL url)
          Opens a URL on this Web browser instance.
 

Method Detail

getId

String getId()
Returns the unique identifier of this browser. If an id has been supplied to the browser support when the instance was created, it will be used. Otherwise, a generated id will be provided to the browser that is guaranteed to be unique.

Returns:
a unique identifier of this browser instance

openURL

void openURL(
URL url)
             throws 
PartInitException
Opens a URL on this Web browser instance.

Parameters:
url - the URL to display
Throws:
PartInitException - if the browser fails to navigate to the provided url for any reason

close

boolean close()
Closes this browser instance.

Returns:
true if the browser was closed or false if the operation failed or is not supported.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire