Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

    public void open(WindowEvent event)

  This method is called when a new window needs to be created.

  The following fields in the `WindowEvent` apply:

  - (out) browser the new `Browser` that will host the content of the new window. If it is left `null`, the navigation is cancelled and no new window is opened.
  - (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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.