|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.rse.ui.messages.StatusLineManagerAdapter
public class StatusLineManagerAdapter
This class adapts the eclipse IStatusLineManager to an ISystemMessageLine.
| Constructor Summary | |
|---|---|
StatusLineManagerAdapter(IStatusLineManager statusLineManager)
Constructor |
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatusLineManagerAdapter(IStatusLineManager statusLineManager)
statusLineManager - the status line manager to adapt to an ISystemMessageLine| Method Detail |
|---|
public void clearErrorMessage()
ISystemMessageLine
clearErrorMessage in interface ISystemMessageLinepublic void clearMessage()
ISystemMessageLine
clearMessage in interface ISystemMessageLinepublic String getErrorMessage()
ISystemMessageLine
getErrorMessage in interface ISystemMessageLinenull is returned.public SystemMessage getSystemErrorMessage()
ISystemMessageLine
getSystemErrorMessage in interface ISystemMessageLinenull is returned.public String getMessage()
ISystemMessageLine
getMessage in interface ISystemMessageLinenull is returned.public void setErrorMessage(String message)
ISystemMessageLine
setErrorMessage in interface ISystemMessageLinepublic void setErrorMessage(SystemMessage message)
ISystemMessageLine
setErrorMessage in interface ISystemMessageLinepublic void setErrorMessage(Throwable exc)
ISystemMessageLine
setErrorMessage in interface ISystemMessageLinepublic void setMessage(String message)
ISystemMessageLine
setMessage in interface ISystemMessageLinepublic void setMessage(SystemMessage message)
ISystemMessageLine
setMessage in interface ISystemMessageLine
|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||