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.EObjectforEObject(IPartialModelNode node, ComparisonContext comparisonContext) Gets eObject for which given partial model node was created.protected StringgetLocalizedStringMapRepresentation(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature) protected StringgetSingleRepresentation(IComparisonDataSource dataSource, org.eclipse.emf.ecore.EObject context, Object value, org.eclipse.emf.ecore.EStructuralFeature feature) protected Stringprotected StringgetTypeRepresentation(IComparisonDataSource dataSource, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature) protected StringgetValueRepresentation(IComparisonDataSource dataSource, org.eclipse.emf.ecore.EObject object, Object value, org.eclipse.emf.ecore.EStructuralFeature feature) protected StringlocalizeSymbolicLink(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EStructuralFeature feature, String symlink) protected voidGets 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, isTerminalNodeFeatureMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getSingleRepresentationin classAbstractEmfBasedPartialModelController
-
getValueRepresentation
protected String getValueRepresentation(IComparisonDataSource dataSource, org.eclipse.emf.ecore.EObject object, Object value, org.eclipse.emf.ecore.EStructuralFeature feature) - Specified by:
getValueRepresentationin classAbstractEmfBasedPartialModelController
-
getSingleValueRepresentation
- Specified by:
getSingleValueRepresentationin classAbstractEmfBasedPartialModelController
-
registerInnerElementSuppliers
Description copied from class:AbstractEmfBasedPartialModelControllerGets the collection of registered inner elements suppliers used to form the customized nodes of the partial model.- Overrides:
registerInnerElementSuppliersin 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:
localizeSymbolicLinkin 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 benullcomparisonContext- the context, cannot benull- Returns:
- the eObject
-