Class GraphRuleAdapter
- java.lang.Object
-
- de.uni_marburg.mdo_over.graphtools.emf.HenshinRuleAdapter
-
- de.uni_marburg.mdo_over.graphtools.emf.GraphRuleAdapter
-
public class GraphRuleAdapter extends HenshinRuleAdapter
-
-
Field Summary
-
Fields inherited from class de.uni_marburg.mdo_over.graphtools.emf.HenshinRuleAdapter
match, resultMatch, rule
-
-
Constructor Summary
Constructors Constructor Description GraphRuleAdapter(org.eclipse.emf.henshin.interpreter.Engine engine, ModelGraph graph)
Creates an adapter wrapping a rule implementing the elements of the givengraph
as preserved elements.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<ModelNode,org.eclipse.emf.henshin.model.Node>
getGraphToRuleMap()
Returns a map between the nodes of the graph used to create the rule represented by this adapter and their counterpartnodes
in the rule.-
Methods inherited from class de.uni_marburg.mdo_over.graphtools.emf.HenshinRuleAdapter
addModelEdgeToRule, addModelNodeToRuleIfAbsent, applyRule, findMatch, getLastMatch, getResultMatch, getRule
-
-
-
-
Constructor Detail
-
GraphRuleAdapter
public GraphRuleAdapter(org.eclipse.emf.henshin.interpreter.Engine engine, ModelGraph graph)
Creates an adapter wrapping a rule implementing the elements of the givengraph
as preserved elements.Note: The rule implementing the graph is created during initialization. Later changes to the graph are not reflected by the adapter.
- Parameters:
engine
- engine used to apply the wrapped rulegraph
- graph to create the rule from
-
-