com.mindoo.remote.api.org.eclipse.ui.tools
Interface IRemoteMessageBoxTools


public interface IRemoteMessageBoxTools


Field Summary
static int ABORT
          The MessageBox style constant for an ABORT button; the only valid combination is ABORT|RETRY|IGNORE (value is 1<<9=512).
static int CANCEL
          The MessageBox style constant for a CANCEL button; valid combinations are OK|CANCEL, YES|NO|CANCEL, RETRY|CANCEL (value is 1<<8=256).
static int ICON_CANCEL
          The style constant for "cancel" icon.
static int ICON_ERROR
          The MessageBox style constant for error icon behavior (value is 1).
static int ICON_INFORMATION
          The MessageBox style constant for information icon behavior (value is 1<<1=2).
static int ICON_QUESTION
          The MessageBox style constant for question icon behavior (value is 1<<2=4).
static int ICON_SEARCH
          The style constant for "search" icon.
static int ICON_WARNING
          The MessageBox style constant for warning icon behavior (value is 1<<3=8).
static int ICON_WORKING
          The MessageBox style constant for "working" icon behavior (value is 1<<4=16).
static int IGNORE
          The MessageBox style constant for an IGNORE button; the only valid combination is ABORT|RETRY|IGNORE (value is 1<<11=2048).
static int NO
          The MessageBox style constant for NO button; valid combinations are YES|NO, YES|NO|CANCEL (value is 1<<7=128).
static int OK
          The MessageBox style constant for an OK button; valid combinations are OK, OK|CANCEL (value is 1<<5=32).
static int RETRY
          The MessageBox style constant for a RETRY button; valid combinations are ABORT|RETRY|IGNORE, RETRY|CANCEL (value is 1<<10=1024).
static int YES
          The MessageBox style constant for YES button; valid combinations are YES|NO, YES|NO|CANCEL (value is 1<<6=64).
 
Method Summary
 int showMessageBox(int style, java.lang.String title, java.lang.String msg)
          Use this method to display a message box to the user
 

Field Detail

ICON_ERROR

static final int ICON_ERROR
The MessageBox style constant for error icon behavior (value is 1).

See Also:
Constant Field Values

ICON_INFORMATION

static final int ICON_INFORMATION
The MessageBox style constant for information icon behavior (value is 1<<1=2).

See Also:
Constant Field Values

ICON_QUESTION

static final int ICON_QUESTION
The MessageBox style constant for question icon behavior (value is 1<<2=4).

See Also:
Constant Field Values

ICON_WARNING

static final int ICON_WARNING
The MessageBox style constant for warning icon behavior (value is 1<<3=8).

See Also:
Constant Field Values

ICON_WORKING

static final int ICON_WORKING
The MessageBox style constant for "working" icon behavior (value is 1<<4=16).

See Also:
Constant Field Values

ICON_SEARCH

static final int ICON_SEARCH
The style constant for "search" icon. This style constant is used with Text in combination with SWT.SEARCH (value is 1<<9=512).

Note that this is a HINT.

Since:
Eclipse 3.5
See Also:
Constant Field Values

ICON_CANCEL

static final int ICON_CANCEL
The style constant for "cancel" icon. This style constant is used with Text in combination with SWT.SEARCH (value is 1<<8=256).

Note that this is a HINT.

Since:
Eclipse 3.5
See Also:
Constant Field Values

OK

static final int OK
The MessageBox style constant for an OK button; valid combinations are OK, OK|CANCEL (value is 1<<5=32).

See Also:
Constant Field Values

YES

static final int YES
The MessageBox style constant for YES button; valid combinations are YES|NO, YES|NO|CANCEL (value is 1<<6=64).

See Also:
Constant Field Values

NO

static final int NO
The MessageBox style constant for NO button; valid combinations are YES|NO, YES|NO|CANCEL (value is 1<<7=128).

See Also:
Constant Field Values

CANCEL

static final int CANCEL
The MessageBox style constant for a CANCEL button; valid combinations are OK|CANCEL, YES|NO|CANCEL, RETRY|CANCEL (value is 1<<8=256).

See Also:
Constant Field Values

ABORT

static final int ABORT
The MessageBox style constant for an ABORT button; the only valid combination is ABORT|RETRY|IGNORE (value is 1<<9=512).

See Also:
Constant Field Values

RETRY

static final int RETRY
The MessageBox style constant for a RETRY button; valid combinations are ABORT|RETRY|IGNORE, RETRY|CANCEL (value is 1<<10=1024).

See Also:
Constant Field Values

IGNORE

static final int IGNORE
The MessageBox style constant for an IGNORE button; the only valid combination is ABORT|RETRY|IGNORE (value is 1<<11=2048).

See Also:
Constant Field Values
Method Detail

showMessageBox

int showMessageBox(int style,
                   java.lang.String title,
                   java.lang.String msg)
                   throws RemoteEclipseAPIException
Use this method to display a message box to the user

Parameters:
style - bit combination of icon flag and OK/YES/NO etc.
title - dialog title
msg - dialog message text
Returns:
bit flag of the button that was clicked
Throws:
RemoteEclipseAPIException