/** * Opens this message dialog, creating it first if it has not yet been created. * <p> * This method waits until the dialog is closed by the end user, and then it * returns the dialog's return code. The dialog's return code is either the * index of the button the user pressed, or {@link SWT#DEFAULT} if the dialog * has been closed by other means. * </p> * * @return the return code * * @see org.eclipse.jface.window.Window#open() */ public int open() { return super.open(); }
/** * Opens this message dialog, creating it first if it has not yet been created. * <p> * This method waits until the dialog is closed by the end user, and then it * returns the dialog's return code. The dialog's return code is either the * index of the button the user pressed, or {@link SWT#DEFAULT} if the dialog * has been closed by other means. * </p> * * @return the return code * * @see org.eclipse.jface.window.Window#open() */ @Override public int open() { return super.open(); }
/** * Extends <code>Window.open()</code>. Opens an error dialog to display * the error. If you specified a mask to filter the displaying of these * children, the error dialog will only be displayed if there is at least * one child status matching the mask. */ public int open() { if (!AUTOMATED_MODE) { return super.open(); } setReturnCode(OK); return OK; }
/** * Extends <code>Window.open()</code>. Opens an error dialog to display * the error. If you specified a mask to filter the displaying of these * children, the error dialog will only be displayed if there is at least * one child status matching the mask. */ public int open() { if (!AUTOMATED_MODE && shouldDisplay(status, displayMask)) { return super.open(); } setReturnCode(OK); return OK; }
/** * Extends <code>Window.open()</code>. Opens an error dialog to display * the error. If you specified a mask to filter the displaying of these * children, the error dialog will only be displayed if there is at least * one child status matching the mask. */ @Override public int open() { if (!AUTOMATED_MODE && shouldDisplay(status, displayMask)) { return super.open(); } setReturnCode(OK); return OK; }
/** * Extends <code>Window.open()</code>. Opens an error dialog to display * the error. If you specified a mask to filter the displaying of these * children, the error dialog will only be displayed if there is at least * one child status matching the mask. */ @Override public int open() { if (!AUTOMATED_MODE && shouldDisplay(status, displayMask)) { return super.open(); } setReturnCode(OK); return OK; }
@Override public int open() { // Check to be sure it is not already done. If it is just return OK. if (!getOpenOnRun()) { if (getNestingDepth() == 0) { return OK; } } int result = super.open(); // update message label just in case beginTask() has been invoked // already if (task == null || task.length() == 0) setMessage(DEFAULT_TASKNAME, true); else setMessage(task, true); return result; } }
@Override public int open() { // Check to be sure it is not already done. If it is just return OK. if (!getOpenOnRun()) { if (getNestingDepth() == 0) { return OK; } } int result = super.open(); // update message label just in case beginTask() has been invoked // already if (task == null || task.length() == 0) setMessage(DEFAULT_TASKNAME, true); else setMessage(task, true); return result; } }
public int open() { // Check to be sure it is not already done. If it is just return OK. if (!getOpenOnRun()) { if (getNestingDepth() == 0) { return OK; } } int result = super.open(); // update message label just in case beginTask() has been invoked // already if (task == null || task.length() == 0) setMessage(DEFAULT_TASKNAME, true); else setMessage(task, true); return result; } }