Logs a message to the user and to the runtime log
The text message is supplied as the content of the statusMessage tag and can be scripted with other DPTK tags.
The severity of the message is specified with the severity attribute. If there are no error level messages, the user is not shown any messages. If there are severity "error" messages, the the user is presented with a completion dialog box that can list the messages and the messages are written to the PDE runtime log.
The PDE runtime log can be viewed by (1) Using Window -> Preferences -> Workbench -> Capabilities to turn on "Eclipse Developer" capabilities. The Error Log view can then be added by using "Window -> Add View..." -> PDE Runtime -> Error Log.
Tag Summary | |
---|---|
required |
<statusMessage /> |
full tag |
<statusMessage severity="value" /> |
There are no required attributes |
---|
Optional Attributes | |
---|---|
severity | Indicates the severity level of the message. Valid values include "error", "warning" and "info". |
Example | |
---|---|
<statusMessage severity="warning" >The name for class <attr node="class" name="className"/> is invalid.</statusMessage> This statusMessage tag displays a wanting-level message to the effect that a class name is invalid. |
© Copyright IBM Corporation 2000,
2006. All Rights Reserved.