/** * Sets the dialog's message, which is a description of * the purpose for which it was opened. This message will be * visible on the dialog while it is open. * * @param string the message * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the string is null</li> * </ul> */ public void setMessage (String string) { if (string == null) error (SWT.ERROR_NULL_ARGUMENT); message = string; }
/** * Sets the dialog's message, which is a description of * the purpose for which it was opened. This message will be * visible on the dialog while it is open. * * @param string the message * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the string is null</li> * </ul> */ public void setMessage (String string) { if (string == null) error (SWT.ERROR_NULL_ARGUMENT); message = string; }
/** * Sets the dialog's message, which is a description of * the purpose for which it was opened. This message will be * visible on the dialog while it is open. * * @param string the message * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the string is null</li> * </ul> */ public void setMessage (String string) { if (string == null) error (SWT.ERROR_NULL_ARGUMENT); message = string; }
/** * Sets the dialog's message, which is a description of * the purpose for which it was opened. This message will be * visible on the dialog while it is open. * * @param string the message * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the string is null</li> * </ul> */ public void setMessage (String string) { if (string == null) error (SWT.ERROR_NULL_ARGUMENT); message = string; }
/** * Sets the dialog's message, which is a description of * the purpose for which it was opened. This message will be * visible on the dialog while it is open. * * @param string the message * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the string is null</li> * </ul> */ public void setMessage (String string) { if (string == null) error (SWT.ERROR_NULL_ARGUMENT); message = string; }
byte [] buffer = Converter.wcsToMbcs (null, message, true); handle = OS.gtk_message_dialog_new(parentHandle, dialogFlags, messageType, 0, format, buffer); if (handle == 0) error(SWT.ERROR_NO_HANDLES); if (parentHandle != 0) { int /*long*/ pixbufs = OS.gtk_window_get_icon_list (parentHandle);
byte [] buffer = Converter.wcsToMbcs (null, message, true); handle = OS.gtk_message_dialog_new(parentHandle, dialogFlags, messageType, 0, format, buffer); if (handle == 0) error(SWT.ERROR_NO_HANDLES); if (parentHandle != 0) { int /*long*/ pixbufs = OS.gtk_window_get_icon_list (parentHandle);
byte [] buffer = Converter.wcsToMbcs (null, message, true); handle = OS.gtk_message_dialog_new(parentHandle, dialogFlags, messageType, 0, format, buffer); if (handle == 0) error(SWT.ERROR_NO_HANDLES); if (parentHandle != 0) { long /*int*/ pixbufs = OS.gtk_window_get_icon_list (parentHandle);
delegate = (SWTPanelDelegate)new SWTPanelDelegate().alloc().init(); jniRef = OS.NewGlobalRef(this); if (jniRef == 0) error(SWT.ERROR_NO_HANDLES); OS.object_setInstanceVariable(delegate.id, Display.SWT_OBJECT, jniRef); alert.beginSheetModalForWindow(parent.view.window (), delegate, OS.sel_panelDidEnd_returnCode_contextInfo_, 0);