org.eclipse.emf.ecp.edit.internal.swt.util
Class DialogOpener

java.lang.Object
  extended by org.eclipse.emf.ecp.edit.internal.swt.util.DialogOpener

public final class DialogOpener
extends Object

Author:
Eugen Neufeld

Method Summary
static void openDialog(org.eclipse.jface.dialogs.Dialog dialog, ECPDialogExecutor callBack)
          The provided Dialog is opened and the result is returned via the provided ECPDialogExecutor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

openDialog

public static void openDialog(org.eclipse.jface.dialogs.Dialog dialog,
                              ECPDialogExecutor callBack)
The provided Dialog is opened and the result is returned via the provided ECPDialogExecutor. This method searches for a DialogWrapper which will wrap the code in order to allow opening JFace dialogs in RAP.

Parameters:
dialog - the JFace Dialog to open
callBack - the ECPDialogExecutor called to handle the result


Copyright © 2015. All Rights Reserved.