|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.model.impl.SystemModelChangeEvent
For listeners interested in model changes with resources in the rse project. These events are designed to state what the change the resource was, not to optimize those events for a GUI (eg, a delete event versus a refresh event)
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
SystemModelChangeEvent()
Constructor you shouldn't use unless you intend to call the setters |
|
SystemModelChangeEvent(int eventType,
int resourceType,
Object resource)
Constructor for SystemModelChangeEvent. |
|
SystemModelChangeEvent(int eventType,
int resourceType,
Object resource,
String oldName)
Constructor for SystemModelChangeEvent for a rename event |
Method Summary | |
---|---|
int |
getEventType()
Get the event type, such as ISystemModelChangeEvents.SYSTEM_RESOURCE_ADDED . |
String |
getOldName()
Get the old name of the resource, in the event of a resource rename. |
Object |
getResource()
Get the resource that this event applies to |
int |
getResourceType()
Get the resource type, such as ISystemModelChangeEvents.SYSTEM_RESOURCETYPE_CONNECTION . |
void |
setEventType(int eventType)
Reset the event type |
void |
setOldName(String oldName)
Reset the old name on a rename event |
void |
setResource(Object resource)
Reset the resource |
void |
setResourceType(int resourceType)
Reset the resource type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String copyright
Constructor Detail |
public SystemModelChangeEvent(int eventType, int resourceType, Object resource)
public SystemModelChangeEvent(int eventType, int resourceType, Object resource, String oldName)
public SystemModelChangeEvent()
Method Detail |
public void setEventType(int eventType)
public void setResourceType(int resourceType)
public void setResource(Object resource)
public void setOldName(String oldName)
public int getEventType()
ISystemModelChangeEvents.SYSTEM_RESOURCE_ADDED
.
getEventType
in interface ISystemModelChangeEvent
ISystemModelChangeEvents
public int getResourceType()
ISystemModelChangeEvents.SYSTEM_RESOURCETYPE_CONNECTION
.
getResourceType
in interface ISystemModelChangeEvent
ISystemModelChangeEvents
public Object getResource()
getResource
in interface ISystemModelChangeEvent
public String getOldName()
getOldName
in interface ISystemModelChangeEvent
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |