/** * Opens the given <code>dialog</code> in a non-blocking way and brings it to the front of the * display. If given, the <code>dialogCallback</code> is notified when the dialog is closed. * <p> * Use this method instead of the <code>open()</code> method from the respective * <code>Dialog</code> implementation when running in <em>JEE_COMPATIBILITY</em> mode. * </p> * * @param dialog the dialog to open, must not be <code>null</code>. * @param dialogCallback the callback to be notified when the dialog was closed or * <code>null</code> if no callback should be notified. * * @see Dialog * @see DialogCallback * @see org.eclipse.rap.rwt.application.Application.OperationMode * @deprecated Use <code>Dialog.open( DialogCallback )</code> instead */ @Deprecated public static void open( Dialog dialog, DialogCallback dialogCallback ) { ParamCheck.notNull( dialog, "dialog" ); dialog.open( dialogCallback ); }