| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.eclipse.emf.transaction.ResourceSetChangeEvent
public class ResourceSetChangeEvent
Event object describing the nature of changes in a resource set to
 ResourceSetListeners.  Note that the event object is only valid
 during the scope of the listener call-back invocation; in particular, the
 editing domain is free to re-use event objects and/or notification lists
 for performance purposes.  Therefore, if it is necessary to retain the
 event or its list of notifications beyond the scope of the call-back, this
 information must be copied by the client.
 
This class is not intended to be extended or instantiated by clients.
ResourceSetListener, 
Serialized Form| Field Summary | 
|---|
| Fields inherited from class java.util.EventObject | 
|---|
| source | 
| Constructor Summary | |
|---|---|
| ResourceSetChangeEvent(TransactionalEditingDomain source)Initializes me with my source editing domain. | |
| ResourceSetChangeEvent(TransactionalEditingDomain source,
                       Transaction transaction,
                       List<Notification> notifications)Initializes me with my source editing domain, command, and notifications. | |
| Method Summary | |
|---|---|
|  TransactionalEditingDomain | getEditingDomain()Obtains the editing domain whose resource set contents changed. | 
|  List<Notification> | getNotifications()Obtains the list of events (as Notifications), in the order in
 which they occurred, indicating the changes that occurred during the
 transaction. | 
|  Transaction | getTransaction()Obtains the transaction in which resource set changes have occurred. | 
| Methods inherited from class java.util.EventObject | 
|---|
| getSource, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public ResourceSetChangeEvent(TransactionalEditingDomain source)
source - my source (must not be null)
public ResourceSetChangeEvent(TransactionalEditingDomain source,
                              Transaction transaction,
                              List<Notification> notifications)
source - my source (must not be null)transaction - the transaction that has made resource set changesnotifications - a list of events (as Notifications), in the
     order in which they occurred| Method Detail | 
|---|
public TransactionalEditingDomain getEditingDomain()
public Transaction getTransaction()
status after it has committed.
 
 Note that it is not permitted to attempt to commit or roll back
 the transaction during the listener call-back.  Any attempt to do so will
 result in an IllegalStateException.
 
nullpublic List<Notification> getNotifications()
Notifications), in the order in
 which they occurred, indicating the changes that occurred during the
 transaction.
Notification| 
 | Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||