|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.rse.ui.messages.SystemMessageLine
public class SystemMessageLine
A message line. It distinguishs between "normal" messages and errors.
Setting an error message hides a currently displayed message until
clearErrorMessage
is called.
Field Summary |
---|
Fields inherited from class org.eclipse.swt.widgets.Composite |
---|
embeddedHandle |
Fields inherited from class org.eclipse.swt.widgets.Widget |
---|
handle |
Constructor Summary | |
---|---|
SystemMessageLine(Composite parent)
Creates a new message line as a child of the given parent. |
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 throwable)
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 org.eclipse.swt.widgets.Composite |
---|
changed, checkSubclass, computeSize, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList |
Methods inherited from class org.eclipse.swt.widgets.Scrollable |
---|
computeTrim, getBorderWidth, getHorizontalBar, getVerticalBar |
Methods inherited from class org.eclipse.swt.widgets.Widget |
---|
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SystemMessageLine(Composite parent)
Method Detail |
---|
public void clearMessage()
ISystemMessageLine
clearMessage
in interface ISystemMessageLine
public void clearErrorMessage()
ISystemMessageLine
clearErrorMessage
in interface ISystemMessageLine
public void setMessage(SystemMessage message)
ISystemMessageLine
setMessage
in interface ISystemMessageLine
public void setMessage(String message)
ISystemMessageLine
setMessage
in interface ISystemMessageLine
public void setErrorMessage(String message)
ISystemMessageLine
setErrorMessage
in interface ISystemMessageLine
public void setErrorMessage(SystemMessage message)
ISystemMessageLine
setErrorMessage
in interface ISystemMessageLine
public void setErrorMessage(Throwable throwable)
ISystemMessageLine
setErrorMessage
in interface ISystemMessageLine
public String getMessage()
ISystemMessageLine
getMessage
in interface ISystemMessageLine
null is returned.
public String getErrorMessage()
ISystemMessageLine
getErrorMessage
in interface ISystemMessageLine
null
is returned.public SystemMessage getSystemErrorMessage()
ISystemMessageLine
getSystemErrorMessage
in interface ISystemMessageLine
null
is returned.
|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |