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
Answertopia.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.swt.browser
Interface OpenWindowListener

All Superinterfaces:
EventListener, org.eclipse.swt.internal.SWTEventListener

public interface OpenWindowListener
extends org.eclipse.swt.internal.SWTEventListener

This listener interface may be implemented in order to receive a WindowEvent notification when a new Browser needs to be provided by the application.

Since:
3.0
See Also:
Browser.addOpenWindowListener(OpenWindowListener), Browser.removeOpenWindowListener(OpenWindowListener), CloseWindowListener, VisibilityWindowListener

Method Summary
 void open ( WindowEvent event)
          This method is called when a new window needs to be created.
 

Method Detail

open

void open(
WindowEvent event)
This method is called when a new window needs to be created.

A particular Browser can be passed to the event.browser field to host the content of a new window.

A standalone system browser is used to host the new window if the event.required field value is false and if the event.browser field is left null. The event.required field is true on platforms that don't support a standalone system browser for new window requests.

The navigation is cancelled if the event.required field is set to true and the event.browser field is left null.

The following fields in the WindowEvent apply:

  • (in/out) required true if the platform requires the user to provide a Browser to handle the new window or false otherwise.
  • (out) browser the new Browser that will host the content of the new window.
  • (in) widget the Browser that is requesting to open a new window

Parameters:
event - the WindowEvent that needs to be passed a new Browser to handle the new window request
Since:
3.0

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