CMS wizard and error feedback
[lgpl/argeo-commons.git] / org.argeo.eclipse.ui / src / org / argeo / eclipse / ui / dialogs / FeedbackDialog.java
index 3b81f6d55b2a49b4c64a37c88e95456ba00c4c9b..1fd4340ed4de5cfa0b227da9e61b49e9c207468d 100644 (file)
@@ -78,7 +78,7 @@ public class FeedbackDialog extends LightweightDialog {
                log.error(message, e);
        }
 
-       public void open() {
+       public int open() {
                if (shell != null)
                        throw new EclipseUiException("There is already a shell");
                shell = new Shell(getDisplay(), SWT.NO_TRIM | SWT.BORDER | SWT.ON_TOP);
@@ -105,6 +105,7 @@ public class FeedbackDialog extends LightweightDialog {
                });
 
                shell.open();
+               return OK;
        }
 
        protected void closeShell() {