Class AbstractElementSupplier
- java.lang.Object
- 
- com._1c.g5.v8.dt.compare.ui.partialmodel.AbstractElementSupplier
 
- 
- All Implemented Interfaces:
- IInnerElementSupplier
 - Direct Known Subclasses:
- AbstractFeatureElementSupplier
 
 public abstract class AbstractElementSupplier extends Object implements IInnerElementSupplier Abstract supplier of inner elements.
- 
- 
Constructor SummaryConstructors Constructor Description AbstractElementSupplier()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract IPartialEqualNodecreateChildEqualNode(IPartialModelNode parent, AbstractComparedEmfObjects<?> parents, AbstractComparedEmfObjects<?> eObjects, ComparisonContext comparisonContext, org.eclipse.xtext.scoping.IScopeProvider scopeProvider)Creates a partial model node for the specified eObjects assumed to be equal for MAIN and OTHER sides.protected List<IPartialModelNode>createChildEqualNodes(IPartialModelNode parent, org.eclipse.emf.ecore.EStructuralFeature feature, ComparisonContext comparisonContext, org.eclipse.xtext.scoping.IScopeProvider scopeProvider)Creates child equal-side partial nodes for the specified parent and feature.protected abstract IPartialModelNodecreateChildNode(IPartialModelNode parent, ComparisonNode comparisonNode, ComparisonContext comparisonContext, org.eclipse.xtext.scoping.IScopeProvider scopeProvider)Creates a partial model node for the specified comparison node.protected List<IPartialModelNode>createChildNodes(IPartialModelNode parent, ComparisonNode comparisonNode, org.eclipse.emf.ecore.EStructuralFeature feature, ComparisonContext comparisonContext, org.eclipse.xtext.scoping.IScopeProvider scopeProvider)Creates child partial nodes for the specified parent and comparison node.protected EqualNodesObjectsCollectorcreateEqualNodesObjectsCollector()Creates a collector to collect child objects to create equal nodes for.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com._1c.g5.v8.dt.compare.ui.partialmodel.IInnerElementSuppliergetInnerElements, supports
 
- 
 
- 
- 
- 
Method Detail- 
createChildEqualNodeprotected abstract IPartialEqualNode createChildEqualNode(IPartialModelNode parent, AbstractComparedEmfObjects<?> parents, AbstractComparedEmfObjects<?> eObjects, ComparisonContext comparisonContext, org.eclipse.xtext.scoping.IScopeProvider scopeProvider) Creates a partial model node for the specified eObjects assumed to be equal for MAIN and OTHER sides.- Parameters:
- parent- the parent partial model node, not- null
- parents- the parent eObjects, not- null
- eObjects- the objects to create the partial node for, not- null
- comparisonContext- the comparison context, not- null
- scopeProvider- the scope provider, not- null
- Returns:
- a new partial model node, never null
 
 - 
createChildNodeprotected abstract IPartialModelNode createChildNode(IPartialModelNode parent, ComparisonNode comparisonNode, ComparisonContext comparisonContext, org.eclipse.xtext.scoping.IScopeProvider scopeProvider) Creates a partial model node for the specified comparison node.- Parameters:
- parent- the parent partial model node, not- null
- comparisonNode- the comparison node for which to create the partial one, not- null
- comparisonContext- the comparison context, not- null
- scopeProvider- the scope provider, not- null
- Returns:
- a new partial model node, never null
 
 - 
createChildEqualNodesprotected List<IPartialModelNode> createChildEqualNodes(IPartialModelNode parent, org.eclipse.emf.ecore.EStructuralFeature feature, ComparisonContext comparisonContext, org.eclipse.xtext.scoping.IScopeProvider scopeProvider) Creates child equal-side partial nodes for the specified parent and feature.- Parameters:
- parent- the parent partial node, cannot be- null
- feature- the feature to create child nodes for, cannot be- null
- comparisonContext- the comparison context, not- null
- scopeProvider- the scope provider, cannot be- null
- Returns:
- the list of created partial nodes, cannot be null
 
 - 
createChildNodesprotected List<IPartialModelNode> createChildNodes(IPartialModelNode parent, ComparisonNode comparisonNode, org.eclipse.emf.ecore.EStructuralFeature feature, ComparisonContext comparisonContext, org.eclipse.xtext.scoping.IScopeProvider scopeProvider) Creates child partial nodes for the specified parent and comparison node.- Parameters:
- parent- the parent partial node, cannot be- null
- comparisonNode- the comparison node to create partial nodes for, can be- null
- feature- the node's feature, cannot be- null
- comparisonContext- the comparison context, cannot be- null
- scopeProvider- the scope provider, cannot be- null
- Returns:
- the list of created partial nodes, cannot be null
 
 - 
createEqualNodesObjectsCollectorprotected EqualNodesObjectsCollector createEqualNodesObjectsCollector() Creates a collector to collect child objects to create equal nodes for. Descendants may provide own implementation.- Returns:
- the collector instance, never null
 
 
- 
 
-