@@ -0,0 +1,430 @@
+package com.opcoach.training;%0A%0Aimport org.eclipse.jface.dialogs.MessageDialog;%0Aimport org.eclipse.swt.widgets.Display;%0Aimport org.eclipse.swt.widgets.Shell;%0A%0Apublic class JfaceDialogs%0A%7B%0A%09%0A%09%0A%09public void displayConfirmationDialog()%0A%09%7B%0A%09%09Shell s = Display.getCurrent().getActiveShell();%0A%09%09if (MessageDialog.openConfirm(s, %22Confirm your choice%22, %22Do you confirm the delete ? %22))%0A%09%09%7B%0A%09%09%09System.out.println(%22Do the delete%22);%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Add JFace dialog sample