org.eclipse.rse.ui.wizards
Class RSEDialogPageMessageLine
java.lang.Object
org.eclipse.rse.ui.wizards.RSEDialogPageMessageLine
-
All Implemented Interfaces:
-
ISystemMessageLine
-
public class RSEDialogPageMessageLine
- extends
Object
- implements
ISystemMessageLine
Message line interface implementation which forwards the calls
to the associated parent dialog page.
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
RSEDialogPageMessageLine
public RSEDialogPageMessageLine(
DialogPage dialogPage)
- Constructor.
-
Parameters:
-
dialogPage
- The parent dialog page. Must be not null
.
clearErrorMessage
public void clearErrorMessage()
-
Description copied from interface:
ISystemMessageLine
- Clears the currently displayed error message and redisplayes
the non-error message which was active before the error message was set (if any).
-
-
Specified by:
-
clearErrorMessage
in interface
ISystemMessageLine
-
clearMessage
public void clearMessage()
-
Description copied from interface:
ISystemMessageLine
- Clears the currently displayed message.
-
-
Specified by:
-
clearMessage
in interface
ISystemMessageLine
-
getErrorMessage
public
String getErrorMessage()
-
Description copied from interface:
ISystemMessageLine
- Get the currently displayed error text.
-
-
Specified by:
-
getErrorMessage
in interface
ISystemMessageLine
-
-
Returns:
- The error message. If no error message is displayed
null
is returned.
getMessage
public
String getMessage()
-
Description copied from interface:
ISystemMessageLine
- Get the currently displayed message.
-
-
Specified by:
-
getMessage
in interface
ISystemMessageLine
-
-
Returns:
- The message. If no message is displayed
null is returned.
getSystemErrorMessage
public
SystemMessage getSystemErrorMessage()
-
Description copied from interface:
ISystemMessageLine
- Get the currently displayed error text.
-
-
Specified by:
-
getSystemErrorMessage
in interface
ISystemMessageLine
-
-
Returns:
- The error message. If no error message is displayed
null
is returned.
setErrorMessage
public void setErrorMessage(
String message)
-
Description copied from interface:
ISystemMessageLine
- Display the given error message. A currently displayed (non-error) message
is saved and will be redisplayed when the error message is cleared.
-
-
Specified by:
-
setErrorMessage
in interface
ISystemMessageLine
-
setErrorMessage
public void setErrorMessage(
SystemMessage message)
-
Description copied from interface:
ISystemMessageLine
- Display the given error message. A currently displayed (non-error) message
is saved and will be redisplayed when the error message is cleared.
-
-
Specified by:
-
setErrorMessage
in interface
ISystemMessageLine
-
setErrorMessage
public void setErrorMessage(
Throwable exception)
-
Description copied from interface:
ISystemMessageLine
- Display the given exception as an error message. This is a convenience
method... a generic SystemMessage is used for exceptions.
-
-
Specified by:
-
setErrorMessage
in interface
ISystemMessageLine
-
setMessage
public void setMessage(
String message)
-
Description copied from interface:
ISystemMessageLine
- Set the message text. If the message line currently displays an error,
the message is stored and will be shown after a call to clearErrorMessage.
-
-
Specified by:
-
setMessage
in interface
ISystemMessageLine
-
setMessage
public void setMessage(
SystemMessage message)
-
Description copied from interface:
ISystemMessageLine
- If the message line currently displays an error,
the message is stored and will be shown after a call to clearErrorMessage
-
-
Specified by:
-
setMessage
in interface
ISystemMessageLine
-
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.