|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
| Field Summary | |
static int |
ADD
|
static int |
ADD_MANY
|
static java.lang.String |
copyright
|
static int |
CREATE
|
static int |
MOVE
|
static int |
NO_INDEX
|
static int |
REMOVE
|
static int |
REMOVE_MANY
|
static int |
REMOVING_ADAPTER
|
static int |
SET
|
static int |
TOUCH
|
static int |
UNSET
|
| Method Summary | |
void |
addAdapter(Adapter o)
Add an adapter of this notifier. |
Adapter |
getAdapter(java.lang.Object type)
Return an exisiting adapter of type "type" or if none found create a new adapter using a registered adapter factory |
java.util.Collection |
getAdapters()
Return a read-only Collection of the Adapters to this notifier. |
Adapter |
getExistingAdapter(java.lang.Object type)
Return an exisiting adapter of type "type" or null if none found |
boolean |
isDelivery()
Get the delivery status of notifications to the adapters of the notifier. |
boolean |
isDeliveryAll()
Get the delivery status of notifications to the adapters of all notifiers. |
void |
notify(int eventType,
com.ibm.etools.emf.ref.RefObject sf,
java.lang.Object oldValue,
java.lang.Object newValue,
int pos)
Deprecated. Please replace with notify(Notification) |
void |
notify(Notification msg)
Notify a change according to the input notification list. |
void |
removeAdapter(Adapter o)
Remove an adapter of this notifier. |
void |
removeAllAdapters()
Remove all the adapters of this notifier. |
void |
setDelivery(boolean deliver)
Set the delivery status of notifications to the adapters of the notifier. |
void |
setDeliveryAll(boolean deliver)
Set the delivery status of notifications to the adapters of all notifiers. |
| Field Detail |
public static final java.lang.String copyright
public static final int CREATE
public static final int SET
public static final int UNSET
public static final int ADD
public static final int REMOVE
public static final int ADD_MANY
public static final int REMOVE_MANY
public static final int MOVE
public static final int TOUCH
public static final int REMOVING_ADAPTER
public static final int NO_INDEX
| Method Detail |
public void addAdapter(Adapter o)
o - com.ibm.etools.emf.notify.Adapterpublic java.util.Collection getAdapters()
public Adapter getExistingAdapter(java.lang.Object type)
public Adapter getAdapter(java.lang.Object type)
public boolean isDelivery()
public boolean isDeliveryAll()
public void notify(int eventType,
com.ibm.etools.emf.ref.RefObject sf,
java.lang.Object oldValue,
java.lang.Object newValue,
int pos)
eventType - intsf - com.ibm.etools.emf.ref.RefObjectoldValue - java.lang.ObjectnewValue - java.lang.Objectpos - intpublic void notify(Notification msg)
public void removeAdapter(Adapter o)
o - com.ibm.etools.emf.notify.Adapterpublic void removeAllAdapters()
public void setDelivery(boolean deliver)
deliver - booleanpublic void setDeliveryAll(boolean deliver)
deliver - boolean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||