This interface provides a mechanism to display a message to the user, potentially to ask the user a question.
There are four main elements to set:
- the message type - defaults to MSG_NONE.
- the input type - defaults to INPUT_OK.
- the message title.
- the message text.
In the case of the main SWT interface, the use of this object will present a message box to a user. The message type indicates what sort of icon to display, the input type indicates what buttons are present, the message title is the message box title and the message text is the main message to be displayed.
There are various methods which have a setXXX and setLocalisedXXX counterparts. The setXXX methods will attempt to translate the given string to a localised representation of it - the setLocalisedXXX method will assume that the localisation has already been done, and leave it intact.
Note: Only for implementation by Azureus, not plugins.
@author Allan Crooks
@since 3.0.5.3