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() |
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, toStringaddChangeListener, addDisposeListener, addStaleListener, checkRealm, fireStale, isDisposed, removeChangeListener, removeDisposeListener, removeStaleListenerfinalize, getClass, notify, notifyAll, wait, wait, waitprotected 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.AbstractObservableSetpublic void dispose()
dispose in interface org.eclipse.core.databinding.observable.IObservabledispose in class org.eclipse.core.databinding.observable.AbstractObservablepublic void clear()
clear in interface java.util.Collectionclear in interface java.util.Setclear in class org.eclipse.core.databinding.observable.set.AbstractObservableSetpublic 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)
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException