Remote Systems
v6.4.1

com.ibm.etools.systems.model
Interface ISystemMessageObject

All Known Implementing Classes:
SystemMessageObject

public interface ISystemMessageObject

This interface represents a message we wish to display as child node in the tree view.

Related adapter is SystemViewMessageAdapter


Field Summary
static String copyright
           
static int MSGTYPE_CANCEL
          1.
static int MSGTYPE_EMPTY
          4.
static int MSGTYPE_ERROR
          0.
static int MSGTYPE_INFO
          3.
static int MSGTYPE_OBJECTCREATED
          5.
 
Method Summary
 String getMessage()
          Return the message text shown for the label.
 Object getParent()
          Return the parent object in the tree.
 int getType()
          Return the type of message: MSGTYPE_ERROR MSGTYPE_CANCEL MSGTYPE_INFO MSGTYPE_EMPTY MSGTYPE_OBJECTCREATED
 boolean isTransient()
          isTransient determines if the message should be removed from the tree when the parent item in the tree is collapsed.
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

MSGTYPE_ERROR

public static final int MSGTYPE_ERROR
0. An error occurred.

See Also:
Constant Field Values

MSGTYPE_CANCEL

public static final int MSGTYPE_CANCEL
1. User canceled

See Also:
Constant Field Values

MSGTYPE_INFO

public static final int MSGTYPE_INFO
3. Informational text

See Also:
Constant Field Values

MSGTYPE_EMPTY

public static final int MSGTYPE_EMPTY
4. Empty list. Eg "Nothing meets subset criteria"

See Also:
Constant Field Values

MSGTYPE_OBJECTCREATED

public static final int MSGTYPE_OBJECTCREATED
5. Object created successfully.

See Also:
Constant Field Values
Method Detail

getMessage

public String getMessage()
Return the message text shown for the label. The translated text is pre-determined from the message type.


getType

public int getType()
Return the type of message:


getParent

public Object getParent()
Return the parent object in the tree. That is, what was expanded to produce this message


isTransient

public boolean isTransient()
isTransient determines if the message should be removed from the tree when the parent item in the tree is collapsed.

Returns:
true if the item should be removed, false if it should not

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.