|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISystemMessageLine
A message line interface. It distinguishs between "normal" messages and errors, as does the DialogPage classes in eclipse.
For each of those, however, we also support both simple string msgs and more robust SystemMessage messages. A dialog, wizard page or property page class that implements this interface will support these by using getLevelOneText() to get the string for the first level text, and support mouse clicking on the message to display the SystemMessageDialog class to show the 2nd level text.
Setting an error message hides a currently displayed message until
clearErrorMessage
is called.
Method Summary | |
---|---|
void |
clearErrorMessage()
Clears the currently displayed error message and redisplayes the non-error message which was active before the error message was set (if any). |
void |
clearMessage()
Clears the currently displayed message. |
String |
getErrorMessage()
Get the currently displayed error text. |
String |
getMessage()
Get the currently displayed message. |
SystemMessage |
getSystemErrorMessage()
Get the currently displayed error text. |
void |
setErrorMessage(String message)
Display the given error message. |
void |
setErrorMessage(SystemMessage message)
Display the given error message. |
void |
setErrorMessage(Throwable exc)
Display the given exception as an error message. |
void |
setMessage(String message)
Set the message text. |
void |
setMessage(SystemMessage message)
If the message line currently displays an error, the message is stored and will be shown after a call to clearErrorMessage |
Method Detail |
---|
void clearErrorMessage()
void clearMessage()
String getErrorMessage()
null
is returned.SystemMessage getSystemErrorMessage()
null
is returned.String getMessage()
null is returned.
void setErrorMessage(String message)
void setErrorMessage(SystemMessage message)
void setErrorMessage(Throwable exc)
void setMessage(String message)
void setMessage(SystemMessage message)
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |