T - the typepublic class AdapterFactoryObservableList<T>
extends java.lang.Object
implements javafx.collections.ObservableList<T>
ObservableList wraps an AdapterFactory and retrieves its elements from the
adapter-implemented IStructuredItemContentProvider interface. The content of the list can only be
modified through changes to the underlying model.| Modifier and Type | Field and Description |
|---|---|
protected @NonNull org.eclipse.emf.common.notify.AdapterFactory |
adapterFactory
The adapter factory
|
protected @NonNull org.eclipse.emf.edit.provider.IStructuredItemContentProvider |
provider
The content provider
|
protected @NonNull java.lang.Object |
root
The to root
|
| Constructor and Description |
|---|
AdapterFactoryObservableList(@NonNull org.eclipse.emf.common.notify.AdapterFactory adapterFactory,
@NonNull java.lang.Object root)
Create an adapter for a list
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
java.lang.Object element) |
boolean |
add(java.lang.Object e) |
boolean |
addAll(java.util.Collection<? extends T> c) |
boolean |
addAll(int index,
java.util.Collection<? extends T> c) |
boolean |
addAll(java.lang.Object... arg0) |
void |
addListener(javafx.beans.InvalidationListener listener) |
void |
addListener(javafx.collections.ListChangeListener<? super T> listener) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
T |
get(int index) |
int |
indexOf(java.lang.Object o) |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<T> |
listIterator() |
java.util.ListIterator<T> |
listIterator(int index) |
T |
remove(int index) |
void |
remove(int arg0,
int arg1) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
removeAll(java.lang.Object... arg0) |
void |
removeListener(javafx.beans.InvalidationListener listener) |
void |
removeListener(javafx.collections.ListChangeListener<? super T> listener) |
boolean |
retainAll(java.util.Collection<?> c) |
boolean |
retainAll(java.lang.Object... arg0) |
T |
set(int index,
java.lang.Object element) |
boolean |
setAll(java.util.Collection<? extends T> arg0) |
boolean |
setAll(java.lang.Object... arg0) |
int |
size() |
java.util.List<T> |
subList(int fromIndex,
int toIndex) |
java.lang.Object[] |
toArray() |
<A> A[] |
toArray(A[] a) |
protected final @NonNull org.eclipse.emf.common.notify.AdapterFactory adapterFactory
protected final @NonNull java.lang.Object root
protected @NonNull org.eclipse.emf.edit.provider.IStructuredItemContentProvider provider
public AdapterFactoryObservableList(@NonNull org.eclipse.emf.common.notify.AdapterFactory adapterFactory,
@NonNull java.lang.Object root)
adapterFactory - the factoryroot - the rootpublic boolean add(java.lang.Object e)
public void add(int index,
java.lang.Object element)
add in interface java.util.List<T>public boolean addAll(java.util.Collection<? extends T> c)
public boolean addAll(int index,
java.util.Collection<? extends T> c)
addAll in interface java.util.List<T>public void clear()
public boolean contains(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public int indexOf(java.lang.Object o)
indexOf in interface java.util.List<T>public boolean isEmpty()
public java.util.Iterator<T> iterator()
public int lastIndexOf(java.lang.Object o)
lastIndexOf in interface java.util.List<T>public java.util.ListIterator<T> listIterator()
listIterator in interface java.util.List<T>public java.util.ListIterator<T> listIterator(int index)
listIterator in interface java.util.List<T>public boolean remove(java.lang.Object o)
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public T set(int index, java.lang.Object element)
set in interface java.util.List<T>public int size()
public java.util.List<T> subList(int fromIndex, int toIndex)
subList in interface java.util.List<T>public java.lang.Object[] toArray()
public <A> A[] toArray(A[] a)
public void addListener(javafx.beans.InvalidationListener listener)
addListener in interface javafx.beans.Observablepublic void removeListener(javafx.beans.InvalidationListener listener)
removeListener in interface javafx.beans.Observablepublic boolean addAll(java.lang.Object... arg0)
addAll in interface javafx.collections.ObservableList<T>public void addListener(javafx.collections.ListChangeListener<? super T> listener)
addListener in interface javafx.collections.ObservableList<T>public void remove(int arg0,
int arg1)
remove in interface javafx.collections.ObservableList<T>public boolean removeAll(java.lang.Object... arg0)
removeAll in interface javafx.collections.ObservableList<T>public void removeListener(javafx.collections.ListChangeListener<? super T> listener)
removeListener in interface javafx.collections.ObservableList<T>public boolean retainAll(java.lang.Object... arg0)
retainAll in interface javafx.collections.ObservableList<T>public boolean setAll(java.lang.Object... arg0)
setAll in interface javafx.collections.ObservableList<T>