public class PatternMatcherContent extends CompositeContent<PatternMatcherRootContent,PatternMatchContent> implements IFilteredMatcherContent
QueryExplorer
. Instances of this class represent the
various patterns (generated or runtime) that are loaded during runtime.parent, text
Constructor and Description |
---|
PatternMatcherContent(PatternMatcherRootContent parent,
AdvancedViatraQueryEngine engine,
RuleEngine ruleEngine,
IQuerySpecification<?> specification,
boolean generated,
QueryEvaluationHint hint) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of this content.
|
org.eclipse.core.databinding.observable.list.IObservableList |
getChildren()
Returns the
IObservableList of child elements. |
java.util.Iterator<PatternMatchContent> |
getChildrenIterator()
Returns an iterator on the child elements.
|
java.lang.Exception |
getException() |
java.lang.Object[] |
getFilter()
Returns the current filter used on the corresponding matcher.
|
IPatternMatch |
getFilterMatch() |
ViatraQueryMatcher<IPatternMatch> |
getMatcher() |
java.lang.String |
getPatternName() |
IQuerySpecification<?> |
getSpecification() |
boolean |
isCreated()
Returns true if the RETE matcher was created for this observable matcher, false otherwise.
|
boolean |
isGenerated()
Returns true if the matcher is generated, false if it is generic.
|
void |
setFilter(java.lang.Object[] parameterFilter) |
updateHasChildren
getParent, getText, setText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent
public PatternMatcherContent(PatternMatcherRootContent parent, AdvancedViatraQueryEngine engine, RuleEngine ruleEngine, IQuerySpecification<?> specification, boolean generated, QueryEvaluationHint hint)
public void dispose()
BaseContent
dispose
in class CompositeContent<PatternMatcherRootContent,PatternMatchContent>
public IQuerySpecification<?> getSpecification()
public ViatraQueryMatcher<IPatternMatch> getMatcher()
getMatcher
in interface IFilteredMatcherContent
public java.lang.String getPatternName()
public void setFilter(java.lang.Object[] parameterFilter)
public java.lang.Object[] getFilter()
public IPatternMatch getFilterMatch()
getFilterMatch
in interface IFilteredMatcherContent
public boolean isGenerated()
public boolean isCreated()
public org.eclipse.core.databinding.observable.list.IObservableList getChildren()
CompositeContent
IObservableList
of child elements.getChildren
in class CompositeContent<PatternMatcherRootContent,PatternMatchContent>
public java.lang.Exception getException()
public java.util.Iterator<PatternMatchContent> getChildrenIterator()
CompositeContent
getChildrenIterator
in class CompositeContent<PatternMatcherRootContent,PatternMatchContent>