public class EditingDomainEObjectObservableList extends EObjectObservableList
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal.
| Modifier and Type | Field and Description |
|---|---|
protected EditingDomain |
domain
The editing domain
|
eObject, eStructuralFeature, listener| Constructor and Description |
|---|
EditingDomainEObjectObservableList(EditingDomain domain,
EObject eObject,
EStructuralFeature eStructuralFeature)
Observe a feature of the instance using the default realm
|
EditingDomainEObjectObservableList(Realm realm,
EditingDomain domain,
EObject eObject,
EStructuralFeature eStructuralFeature)
Observe a feature of the instance using the realm
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
java.lang.Object object) |
boolean |
add(java.lang.Object object) |
boolean |
addAll(java.util.Collection collection) |
boolean |
addAll(int index,
java.util.Collection collection) |
void |
clear() |
void |
dispose() |
protected boolean |
execute(Command command)
Execute a command
|
java.lang.Object |
move(int newPosition,
int oldPosition)
Moves the object from the old position to the new position.
|
void |
move(int newPosition,
java.lang.Object object)
Moves the object to the new position, if is in the list.
|
java.lang.Object |
remove(int index) |
boolean |
remove(java.lang.Object element) |
boolean |
removeAll(java.util.Collection collection) |
boolean |
retainAll(java.util.Collection collection) |
java.lang.Object |
set(int index,
java.lang.Object element) |
firstListenerAdded, getObserved, lastListenerRemoved, toString, wrappedListprotected EditingDomain domain
public EditingDomainEObjectObservableList(EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature)
domain - the editing domaineObject - the objecteStructuralFeature - the featurepublic EditingDomainEObjectObservableList(Realm realm,
EditingDomain domain,
EObject eObject,
EStructuralFeature eStructuralFeature)
domain - the editing domainrealm - eObject - the objecteStructuralFeature - the featurepublic void dispose()
dispose in class EObjectObservableListprotected boolean execute(Command command)
command - the command to executetrue if execute else falsepublic boolean add(java.lang.Object object)
add in class EObjectObservableListpublic void add(int index,
java.lang.Object object)
add in class EObjectObservableListpublic boolean addAll(java.util.Collection collection)
addAll in class EObjectObservableListpublic boolean addAll(int index,
java.util.Collection collection)
addAll in class EObjectObservableListpublic java.lang.Object set(int index,
java.lang.Object element)
set in class EObjectObservableListpublic java.lang.Object remove(int index)
remove in class EObjectObservableListpublic boolean remove(java.lang.Object element)
remove in class EObjectObservableListpublic boolean removeAll(java.util.Collection collection)
removeAll in class EObjectObservableListpublic boolean retainAll(java.util.Collection collection)
retainAll in class EObjectObservableListpublic void clear()
clear in class EObjectObservableListpublic java.lang.Object move(int newPosition,
int oldPosition)
EListmove in class EObjectObservableListnewPosition - the position of the object after the move.oldPosition - the position of the object before the move.public void move(int newPosition,
java.lang.Object object)
EListmove in class EObjectObservableListnewPosition - the position of the object after the move.object - the object to move.