|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.core.model.SystemMessageObject
public class SystemMessageObject
This class captures a message we wish to display as child node in the tree view.
Field Summary | |
---|---|
protected java.lang.String |
message
|
protected java.lang.Object |
parent
|
protected int |
type
|
Fields inherited from interface org.eclipse.rse.core.model.ISystemMessageObject |
---|
MSGTYPE_CANCEL, MSGTYPE_EMPTY, MSGTYPE_ERROR, MSGTYPE_INFO, MSGTYPE_OBJECTCREATED |
Constructor Summary | |
---|---|
SystemMessageObject(SystemMessage msgObj,
int type,
java.lang.Object parent)
Constructor when using SystemMessage |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
java.lang.Object |
getAdapter(java.lang.Class adapterType)
This is the method required by the IAdaptable interface. |
java.lang.String |
getMessage()
Get the message to display in the tree viewer |
java.lang.Object |
getParent()
Get the parent object (within tree view) |
SystemMessage |
getSystemMessage()
Return the SystemMessage for this SystemMessageObject. |
int |
getType()
Message type. |
boolean |
isTransient()
isTransient determines if the message should be removed from the tree when the parent item in the tree is collapsed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String message
protected int type
protected java.lang.Object parent
Constructor Detail |
---|
public SystemMessageObject(SystemMessage msgObj, int type, java.lang.Object parent)
msgObj
- The system message from which to retrieve text to show in the tree viewertype
- The message severity, dictating the icon.parent
- The parent node of this within the tree viewISystemMessageObject
Method Detail |
---|
public java.lang.String getMessage()
getMessage
in interface ISystemMessageObject
public int getType()
getType
in interface ISystemMessageObject
ISystemMessageObject
public java.lang.Object getParent()
getParent
in interface ISystemMessageObject
public java.lang.Object getAdapter(java.lang.Class adapterType)
getAdapter
in interface IAdaptable
public boolean isTransient()
ISystemMessageObject
isTransient
in interface ISystemMessageObject
ISystemMessageObject.isTransient()
public SystemMessage getSystemMessage()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
Comparable.compareTo(java.lang.Object)
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |