public class PatternMatcherContent extends CompositeContent<PatternMatcherRootContent,PatternMatchContent>
QueryExplorer
. Instances of this class represent the
various patterns (generated or runtime) that are loaded during runtime.Constructor and Description |
---|
PatternMatcherContent(PatternMatcherRootContent parent,
org.eclipse.viatra.query.runtime.api.AdvancedViatraQueryEngine engine,
org.eclipse.viatra.transformation.evm.api.RuleEngine ruleEngine,
org.eclipse.viatra.query.runtime.api.IQuerySpecification<?> specification,
boolean generated,
org.eclipse.viatra.query.runtime.matchers.backend.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.
|
org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher<org.eclipse.viatra.query.runtime.api.IPatternMatch> |
getMatcher() |
java.lang.String |
getPatternName() |
org.eclipse.viatra.query.runtime.api.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
public PatternMatcherContent(PatternMatcherRootContent parent, org.eclipse.viatra.query.runtime.api.AdvancedViatraQueryEngine engine, org.eclipse.viatra.transformation.evm.api.RuleEngine ruleEngine, org.eclipse.viatra.query.runtime.api.IQuerySpecification<?> specification, boolean generated, org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint hint)
public void dispose()
BaseContent
dispose
in class CompositeContent<PatternMatcherRootContent,PatternMatchContent>
public org.eclipse.viatra.query.runtime.api.IQuerySpecification<?> getSpecification()
public org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher<org.eclipse.viatra.query.runtime.api.IPatternMatch> getMatcher()
public java.lang.String getPatternName()
public void setFilter(java.lang.Object[] parameterFilter)
public java.lang.Object[] getFilter()
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>