|
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.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 String |
message
|
protected 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,
Object parent)
Constructor when using SystemMessage |
Method Summary | |
---|---|
int |
compareTo(Object o)
|
Object |
getAdapter(Class adapterType)
This is the method required by the IAdaptable interface. |
String |
getMessage()
Get the message to display in the tree viewer |
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 String message
protected int type
protected Object parent
Constructor Detail |
---|
public SystemMessageObject(SystemMessage msgObj, int type, 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 String getMessage()
getMessage
in interface ISystemMessageObject
public int getType()
getType
in interface ISystemMessageObject
ISystemMessageObject
public Object getParent()
getParent
in interface ISystemMessageObject
public Object getAdapter(Class adapterType)
getAdapter
in interface IAdaptable
public boolean isTransient()
ISystemMessageObject
isTransient
in interface ISystemMessageObject
ISystemMessageObject.isTransient()
public SystemMessage getSystemMessage()
public int compareTo(Object o)
compareTo
in interface Comparable
Comparable.compareTo(java.lang.Object)
|
RSE Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |