public final class DialogUtil
extends java.lang.Object
Dialog
Modifier and Type | Method and Description |
---|---|
static void |
open(Dialog dialog,
DialogCallback dialogCallback)
Opens the given
dialog in a non-blocking way and brings it to the front of the
display. |
public static void open(Dialog dialog, DialogCallback dialogCallback)
dialog
in a non-blocking way and brings it to the front of the
display. If given, the dialogCallback
is notified when the dialog is closed.
Use this method instead of the open()
method from the respective
Dialog
implementation when running a life cycle without a dedicated UI
thread where open()
does not block the program execution flow.
dialog
- the dialog to open, must not be null
.dialogCallback
- the callback to be notified when the dialog was closed or
null
if no callback should be notified.Dialog
,
DialogCallback
,
Application.OperationMode
Copyright (c) EclipseSource and others 2002, 2014.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0