public class ObservablePatternMatchSet<Match extends IPatternMatch>
extends org.eclipse.core.databinding.observable.set.AbstractObservableSet
ViatraQueryMatcher
on a model (match sets of an
ViatraQueryMatcher
are not ordered by default).
For creating complex observable lists, use ObservablePatternMatchCollectionBuilder
.
This implementation uses the ExecutionSchema
to get notifications for match set changes, and can be instantiated
using either an existing ViatraQueryMatcher
, or an IQuerySpecification
and ViatraQueryEngine
or RuleEngine
.
Modifier and Type | Class and Description |
---|---|
class |
ObservablePatternMatchSet.SetCollectionUpdate |
Modifier | Constructor and Description |
---|---|
protected |
ObservablePatternMatchSet()
Creates an observable set, that will be built be the
ObservablePatternMatchCollectionBuilder
using the ObservablePatternMatchCollection interface. |
Modifier and Type | Method and Description |
---|---|
protected void |
addListener(java.lang.Object arg0,
org.eclipse.core.databinding.observable.IObservablesListener arg1) |
void |
clear() |
protected java.lang.Object |
clone() |
void |
dispose() |
protected void |
fireEvent(org.eclipse.core.databinding.observable.ObservableEvent arg0) |
java.lang.Object |
getElementType() |
protected ObservablePatternMatchCollection<Match> |
getInternalCollection() |
org.eclipse.core.databinding.observable.Realm |
getRealm() |
RuleSpecification<Match> |
getSpecification() |
protected java.util.Set<java.lang.Object> |
getWrappedSet() |
protected boolean |
hasListeners() |
protected void |
removeListener(java.lang.Object arg0,
org.eclipse.core.databinding.observable.IObservablesListener arg1) |
add, addAll, addSetChangeListener, contains, containsAll, equals, fireChange, fireSetChange, firstListenerAdded, getterCalled, hashCode, isEmpty, isStale, iterator, lastListenerRemoved, remove, removeAll, removeSetChangeListener, retainAll, setStale, size, toArray, toArray, toString
addChangeListener, addDisposeListener, addStaleListener, checkRealm, fireStale, isDisposed, removeChangeListener, removeDisposeListener, removeStaleListener
finalize, getClass, notify, notifyAll, wait, wait, wait
protected ObservablePatternMatchSet()
ObservablePatternMatchCollectionBuilder
using the ObservablePatternMatchCollection
interface.protected ObservablePatternMatchCollection<Match> getInternalCollection()
public java.lang.Object getElementType()
protected java.util.Set<java.lang.Object> getWrappedSet()
getWrappedSet
in class org.eclipse.core.databinding.observable.set.AbstractObservableSet
public void dispose()
dispose
in interface org.eclipse.core.databinding.observable.IObservable
dispose
in class org.eclipse.core.databinding.observable.AbstractObservable
public void clear()
clear
in interface java.util.Collection
clear
in interface java.util.Set
clear
in class org.eclipse.core.databinding.observable.set.AbstractObservableSet
public RuleSpecification<Match> getSpecification()
protected void addListener(java.lang.Object arg0, org.eclipse.core.databinding.observable.IObservablesListener arg1)
protected void removeListener(java.lang.Object arg0, org.eclipse.core.databinding.observable.IObservablesListener arg1)
protected boolean hasListeners()
protected void fireEvent(org.eclipse.core.databinding.observable.ObservableEvent arg0)
public org.eclipse.core.databinding.observable.Realm getRealm()
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException