org.eclipse.emf.facet.util.ui.internal.exported.dialog
Interface IQuestionDialogFactory


public interface IQuestionDialogFactory

A factory to instantiate IQuestionDialog


Field Summary
static IQuestionDialogFactory INSTANCE
           
 
Method Summary
 IQuestionDialog createQuestionDialog(Shell parent, java.lang.String title, java.lang.String message)
          Deprecated. 
 IQuestionDialog createQuestionDialog(Shell parent, java.lang.String title, java.lang.String message, IDialogCallback<java.lang.Boolean> callback)
          Instantiates a question dialog (without opening it)
 

Field Detail

INSTANCE

static final IQuestionDialogFactory INSTANCE
Method Detail

createQuestionDialog

@Deprecated
IQuestionDialog createQuestionDialog(Shell parent,
                                                java.lang.String title,
                                                java.lang.String message)
Deprecated. 

Instantiates a question dialog (without opening it)

Parameters:
parent - the parent shell for the new dialog
title - the text that appears in the title of the dialog
message - the text that appears in the message area of the dialog
Returns:
the dialog, ready to be opened

createQuestionDialog

IQuestionDialog createQuestionDialog(Shell parent,
                                     java.lang.String title,
                                     java.lang.String message,
                                     IDialogCallback<java.lang.Boolean> callback)
Instantiates a question dialog (without opening it)

Parameters:
parent - the parent shell for the new dialog
title - the text that appears in the title of the dialog
message - the text that appears in the message area of the dialog
Returns:
the dialog, ready to be opened
Since:
0.2