Package com._1c.g5.v8.dt.md.compare.ui
Class AbstractMdAwarePartialModelController
java.lang.Object
com._1c.g5.v8.dt.compare.ui.partialmodel.AbstractEmfBasedPartialModelController
com._1c.g5.v8.dt.md.compare.ui.AbstractMdAwarePartialModelController
- All Implemented Interfaces:
IPartialModelControllerDelegate
- Direct Known Subclasses:
AdditionalIndexesPartialModelController
,ChartPartialModelController
,CmiPartialModelController
,DcsPartialModelController
,FormPartialModelController
,HtmlDocumentPartialModelController
,MdObjectPartialModelController
,RightsPartialModelController
public abstract class AbstractMdAwarePartialModelController
extends AbstractEmfBasedPartialModelController
-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.compare.ui.partialmodel.AbstractEmfBasedPartialModelController
scopeProvider, symbolicLinkLocalizer
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractMdAwarePartialModelController
(ISymbolicLinkLocalizer symbolicLinkLocalizer) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.emf.ecore.EObject
forEObject
(IPartialModelNode node, ComparisonContext comparisonContext) Gets eObject for which given partial model node was created.protected String
getLocalizedStringMapRepresentation
(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature) protected String
getSingleRepresentation
(IComparisonDataSource dataSource, org.eclipse.emf.ecore.EObject context, Object value, org.eclipse.emf.ecore.EStructuralFeature feature) protected String
protected String
getTypeRepresentation
(IComparisonDataSource dataSource, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature) protected String
getValueRepresentation
(IComparisonDataSource dataSource, org.eclipse.emf.ecore.EObject object, Object value, org.eclipse.emf.ecore.EStructuralFeature feature) protected String
localizeSymbolicLink
(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EStructuralFeature feature, String symlink) protected void
Gets the collection of registered inner elements suppliers used to form the customized nodes of the partial model.Methods inherited from class com._1c.g5.v8.dt.compare.ui.partialmodel.AbstractEmfBasedPartialModelController
addFeatures, createEqualFeatureNode, createEqualNodesObjectsCollector, createFeatureNode, createInnerElements, createInnerElements, getBooleanRepresentation, getChildrenFeatureNodes, getChildrenListNodes, getEObjectValue, getImageProvider, getListElementImageProvider, getRepresentation, getSymlink, isExpandableEqualNodeRequired, isExpandableFeatureNodeRequired, isExpandableNodeRequired, isSupported, isTerminalNodeFeature
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com._1c.g5.v8.dt.compare.ui.partialmodel.IPartialModelControllerDelegate
compareUsingExternalTool, editMergeSettings, fillNodeProperties, getTopNodes, mergeUsingExternalTool, positionChildNode, refreshNode, setMergeRule, supportsComparisonUsingExternalTool, supportsMergingUsingExternalTool
-
Constructor Details
-
AbstractMdAwarePartialModelController
Constructor.- Parameters:
symbolicLinkLocalizer
- the symbolic link localizer, can not benull
-
-
Method Details
-
getSingleRepresentation
protected String getSingleRepresentation(IComparisonDataSource dataSource, org.eclipse.emf.ecore.EObject context, Object value, org.eclipse.emf.ecore.EStructuralFeature feature) - Overrides:
getSingleRepresentation
in classAbstractEmfBasedPartialModelController
-
getValueRepresentation
protected String getValueRepresentation(IComparisonDataSource dataSource, org.eclipse.emf.ecore.EObject object, Object value, org.eclipse.emf.ecore.EStructuralFeature feature) - Specified by:
getValueRepresentation
in classAbstractEmfBasedPartialModelController
-
getSingleValueRepresentation
- Specified by:
getSingleValueRepresentation
in classAbstractEmfBasedPartialModelController
-
registerInnerElementSuppliers
Description copied from class:AbstractEmfBasedPartialModelController
Gets the collection of registered inner elements suppliers used to form the customized nodes of the partial model.- Overrides:
registerInnerElementSuppliers
in classAbstractEmfBasedPartialModelController
- Parameters:
collector
- Supplier collector.
-
localizeSymbolicLink
protected String localizeSymbolicLink(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EStructuralFeature feature, String symlink) - Specified by:
localizeSymbolicLink
in classAbstractEmfBasedPartialModelController
-
getLocalizedStringMapRepresentation
protected String getLocalizedStringMapRepresentation(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature) -
getTypeRepresentation
protected String getTypeRepresentation(IComparisonDataSource dataSource, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature) -
forEObject
protected org.eclipse.emf.ecore.EObject forEObject(IPartialModelNode node, ComparisonContext comparisonContext) Gets eObject for which given partial model node was created. Useful for type checking.- Parameters:
node
- the node, cannot benull
comparisonContext
- the context, cannot benull
- Returns:
- the eObject
-