|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Field Summary | |
---|---|
static String |
copyright
|
Method Summary | |
---|---|
void |
clearErrorMessage()
Clears the currently displayed error message and redisplayes the message which was active before the error message was set. |
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 |
Field Detail |
public static final String copyright
Method Detail |
public void clearErrorMessage()
public void clearMessage()
public String getErrorMessage()
null
is returned.public SystemMessage getSystemErrorMessage()
null
is returned.public String getMessage()
null is returned.
public void setErrorMessage(String message)
public void setErrorMessage(SystemMessage message)
public void setErrorMessage(Throwable exc)
public void setMessage(String message)
public void setMessage(SystemMessage message)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |