|
|||||||||
| PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.ArrayList
|
+--org.eclipse.emf.edit.provider.ChangeNotifier
This is a simple and obvious implementation of IChangeNotifier as an extension of an ArrayList, for flexibility.
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
ChangeNotifier()
|
|
| Method Summary | |
void |
addListener(INotifyChangedListener notifyChangedListener)
This adds another listener. |
void |
fireNotifyChanged(Notification notification)
This calls notifyChanged for each listener. |
void |
removeListener(INotifyChangedListener notifyChangedListener)
This removes a listener. |
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
| Constructor Detail |
public ChangeNotifier()
| Method Detail |
public void fireNotifyChanged(Notification notification)
notifyChanged for each listener.fireNotifyChanged in interface IChangeNotifierpublic void addListener(INotifyChangedListener notifyChangedListener)
addListener in interface IChangeNotifierpublic void removeListener(INotifyChangedListener notifyChangedListener)
removeListener in interface IChangeNotifier
|
Copyright 2001-2003 IBM Corporation and others. All Rights Reserved. |
||||||||
| PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||