public interface OpenWindowListener extends SWTEventListener
WindowEvent
notification when a new Browser
needs to be provided by the application.Modifier and Type | Method and Description |
---|---|
void |
open(WindowEvent event)
This method is called when a new window needs to be created.
|
void open(WindowEvent event)
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:
Browser
to handle the new window or false otherwise.
Browser
that will host the
content of the new window.
Browser
that is requesting to open a
new window
event
- the WindowEvent
that needs to be passed a new
Browser
to handle the new window requestCopyright © 2017. All Rights Reserved.