/** * Sets whether the progress dialog is cancelable or not. * * @param cancelable * <code>true</code> if the end user can cancel this progress * dialog, and <code>false</code> if it cannot be canceled */ public void setCancelable(boolean cancelable) { if (cancel == null) { enableCancelButton = cancelable; } else { asyncSetOperationCancelButtonEnabled(cancelable); } }
/** * Sets whether the progress dialog is cancelable or not. * * @param cancelable * <code>true</code> if the end user can cancel this progress * dialog, and <code>false</code> if it cannot be canceled */ public void setCancelable(boolean cancelable) { if (cancel == null) { enableCancelButton = cancelable; } else { asyncSetOperationCancelButtonEnabled(cancelable); } }
/** * Sets whether the progress dialog is cancelable or not. * * @param cancelable * <code>true</code> if the end user can cancel this progress * dialog, and <code>false</code> if it cannot be canceled */ public void setCancelable(boolean cancelable) { if (cancel == null) { enableCancelButton = cancelable; } else { asyncSetOperationCancelButtonEnabled(cancelable); } }