Uses of Interface
com._1c.g5.v8.dt.compare.core.IComparisonSession
-
-
Uses of IComparisonSession in com._1c.g5.v8.dt.bsl.compare
Methods in com._1c.g5.v8.dt.bsl.compare with parameters of type IComparisonSession Modifier and Type Method Description static InputStream
BslCompareUtils. getBslModuleContentStream(BslModuleComparisonNode node, IComparisonSession session, ComparisonSide side, IQualifiedNameFilePathConverter filePathConverter)
Returns the Bsl module content stream on the specified comparison side.static ExternalMergeToolExecutionStatus
BslCompareUtils. mergeModuleUsingExternalTool(BslModuleComparisonNode node, IComparisonSession session, ExternalMergeToolConfiguration externalMergeToolConfiguration, boolean runAutoMergeByDefault, String mainComparisonSideName, String otherComparisonSideName, File mergeResultFile, IQualifiedNameFilePathConverter filePathConverter, ISymbolicLinkLocalizer symbolicLinkLocalizer)
Merges the Bsl module using an external tool for the specified node.static org.eclipse.xtext.parser.IParseResult
BslCompareUtils. parseBslModuleContent(BslModuleComparisonNode node, IComparisonSession session, ComparisonSide side, IQualifiedNameFilePathConverter filePathConverter)
Parses the Bsl module content stream on the specified comparison side.static BslModuleContentInfo
BslCompareUtils. readBslModuleContent(BslModuleComparisonNode node, IComparisonSession session, ComparisonSide side, boolean detectIsBinary, IQualifiedNameFilePathConverter filePathConverter)
Reads the Bsl module content on the specified comparison side.static String
BslCompareUtils. readBslModuleContent(BslModuleSectionComparisonNode node, IComparisonSession session, ComparisonSide side, IQualifiedNameFilePathConverter filePathConverter)
Reads the Bsl module content on the specified comparison side. -
Uses of IComparisonSession in com._1c.g5.v8.dt.bsl.compare.merge
Methods in com._1c.g5.v8.dt.bsl.compare.merge with parameters of type IComparisonSession Modifier and Type Method Description static String
MergeFormattingSupport. mergeBslModuleWithParsingModuleStructure(IComparisonSession session, BslModuleComparisonNode node, IBslModuleNodeContentProvider contentProvider, org.eclipse.xtext.resource.ILocationInFileProvider locationInFileProvider)
Merges the differences in the specified Bsl module node with parsing module structure. -
Uses of IComparisonSession in com._1c.g5.v8.dt.compare.core
Methods in com._1c.g5.v8.dt.compare.core that return IComparisonSession Modifier and Type Method Description IComparisonSession
ComparisonContext. getComparisonSession()
Gets the comparison session the context attached to.IComparisonSession
IComparisonManager. getComparisonSession(ComparisonProcessHandle handle)
Returns the comparison session for the specified comparison process handle.Methods in com._1c.g5.v8.dt.compare.core with parameters of type IComparisonSession Modifier and Type Method Description TopComparisonNode
IComparisonParticipant. addNewTopObjectToComparison(IComparisonSession comparisonSession, String mainSymlink, org.eclipse.emf.ecore.EClass eClass)
Adds a new node to the comparison for the top object.boolean
IComparisonParticipant. adoptExternalProperty(IComparisonSession session, ExternalPropertyComparisonData extPropData)
Adopts the given external property if it is supported by the participant instance.static String
ComparisonUtils. adoptImportedObjectSymlink(IComparisonSession session, String symlink)
Converts, if possible, the imported object symlink into a new one supported by the main side.org.eclipse.emf.ecore.EStructuralFeature
IComparisonParticipant. adoptMainSideFeature(org.eclipse.emf.ecore.EStructuralFeature mainSideFeature, IComparisonSession session)
Converts, if possible, the main side feature into a other supported by the other side object.boolean
IComparisonParticipant. breakMainSideCorrespondence(IComparisonSession comparisonSession, ComparisonNode node)
Asks the participant to break main side correspondence represented by the specified model node.protected <T extends CollectionComparisonNode>
TComparisonNodeFactory. createCollectionNode(org.eclipse.emf.ecore.EClass nodeType, ComparisonNode parent, AbstractComparedEmfObjects<?> parentComparedObjects, ComparedFeatures<?> comparedFeatures, IComparisonSession session)
Creates a comparison node for some collection.static ComparisonContext
ComparisonUtils. createComparisonContext(IComparisonSession session)
Creates a comparison context with read-only transactional access to the data sources.static ComparisonContext
ComparisonUtils. createComparisonContext(IComparisonSession session, boolean comparisonModelWriteEnabled)
Creates a comparison context with read-only transactional access to the data sources and to the comparison model.static ComparisonContext
ComparisonUtils. createComparisonContext(IComparisonSession session, IBmTransaction mainDataSourceMergeTransaction)
Creates a comparison context with transactional access to the data sources.ContainmentCollectionElementComparisonNode
ComparisonNodeFactory. createContainmentCollectionElementComparisonNode(ComparisonNode parent, AbstractComparedEmfObjects<?> parentComparedObjects, MatchedEmfObjects matchedObjects, ComparedFeatures<?> collectionFeatures, int positionAfterMerge, IComparisonSession session)
Creates a comparison node for the element in the containment collection.ContainmentCollectionComparisonNode
ComparisonNodeFactory. createContainmentCollectionNode(ComparisonNode parent, AbstractComparedEmfObjects<?> parentComparedObjects, ComparedFeatures<?> comparedFeatures, IComparisonSession session)
Creates a comparison node for some containment collection.ExternalPropertyComparisonNode
ComparisonNodeFactory. createExternalPropertyNode(ComparisonNode parent, ExternalPropertyComparisonData extPropData, IComparisonSession session)
Creates a comparison node for some external property.ReferenceCollectionElementComparisonNode
ComparisonNodeFactory. createReferenceCollectionElementComparisonNode(ComparisonNode parent, AbstractComparedEmfObjects<?> parentComparedObjects, MatchedReference matchedRef, ComparedFeatures<?> collectionFeatures, int positionAfterMerge, IComparisonSession session)
Creates a comparison node for the element in the reference (non-containment) collection.ReferenceCollectionComparisonNode
ComparisonNodeFactory. createReferenceCollectionNode(ComparisonNode parent, AbstractComparedEmfObjects<?> parentComparedObjects, ComparedFeatures<?> comparedFeatures, IComparisonSession session)
Creates a comparison node for some reference collection.protected RelatedFeature
ComparisonNodeFactory. createRelatedFeature(org.eclipse.emf.ecore.EStructuralFeature feature, IComparisonSession session)
Creates related feature object from the givenEStructuralFeature
instance.SingleContainmentFeatureComparisonNode
ComparisonNodeFactory. createSingleContainmentComparisonNode(ComparisonNode parent, AbstractComparedEmfObjects<?> parentComparedObjects, MatchedEmfObjects matchedObjects, ComparedFeatures<?> comparedFeatures, IComparisonSession session)
Creates a comparison node for a single containment feature.SingleReferenceFeatureComparisonNode
ComparisonNodeFactory. createSingleReferenceComparisonNode(ComparisonNode parent, AbstractComparedEmfObjects<?> parentComparedObjects, ComparedSymlinks matchedSymlinks, ComparedFeatures<?> comparedFeatures, IComparisonSession session)
Creates a comparison node for a single reference (non-containment) feature.SingleValueComparisonNode
ComparisonNodeFactory. createSingleValueComparisonNode(ComparisonNode parent, AbstractComparedEmfObjects<?> parentComparedObjects, ComparedObjects<?> comparedObjects, ComparedFeatures<?> comparedFeatures, IComparisonSession session)
Creates a comparison node for a single value.MergeRule
IComparisonParticipant. getDefaultMergeRule(ComparisonNode node, IComparisonSession session)
Returns the default merge rule for the given node.Boolean
IComparisonParticipant. getDefaultMustBeMerged(ComparisonNode node, IComparisonSession session)
Returns the default must be merged value for the given node.boolean
IComparisonParticipant. isCandidateForPotentialMergeProblems(ComparisonNode node, IComparisonSession session)
Tells whether the given node may break the configuration if it is merged.boolean
IComparisonParticipant. isExcludedFromComparison(org.eclipse.emf.ecore.EStructuralFeature feature, AbstractComparedEmfObjects<?> comparedContextObjects, IComparisonSession session)
Checks whether the feature must be excluded from the comparison.void
IComparisonParticipant. restoreCustomSettings(ComparisonNode node, SerializableMergeSettings container, IComparisonSession session)
Restores custom settings for the specified node from the given merge settings container.void
IComparisonParticipant. saveCustomSettings(ComparisonNode node, SerializableMergeSettings container, IComparisonSession session)
Saves custom settings for the specified node into the given merge settings container.boolean
IComparisonParticipant. supportsCustomMerging(ComparisonNode node, IComparisonSession session)
Tells whether the given node supports custom merging.boolean
IComparisonParticipant. supportsMergingUsingExternalTool(ComparisonNode node, IComparisonSession session)
Tells whether the given node supports merging using external tool.boolean
IComparisonParticipant. supportsPrioritizedMerging(ComparisonNode node, IComparisonSession session)
Tells whether the given node supports prioritized merging.Constructors in com._1c.g5.v8.dt.compare.core with parameters of type IComparisonSession Constructor Description ComparisonContext(IComparisonSession comparisonSession)
Creates context instance. -
Uses of IComparisonSession in com._1c.g5.v8.dt.compare.datasource
Constructors in com._1c.g5.v8.dt.compare.datasource with parameters of type IComparisonSession Constructor Description ComparisonDataSourceTransactionalContext(IComparisonSession session, IBmTransaction mergeTransaction)
Constructs the context using the data from the comparison session. -
Uses of IComparisonSession in com._1c.g5.v8.dt.compare.matching
Constructors in com._1c.g5.v8.dt.compare.matching with parameters of type IComparisonSession Constructor Description AbstractElementsTreeMatcher(IComparisonSession session, MergeRule mergeRule, org.eclipse.emf.ecore.EObject main, org.eclipse.emf.ecore.EObject other, org.eclipse.emf.ecore.EObject ancestor)
Creates matcher instance. -
Uses of IComparisonSession in com._1c.g5.v8.dt.compare.merge
Methods in com._1c.g5.v8.dt.compare.merge that return IComparisonSession Modifier and Type Method Description IComparisonSession
IMergeSession. getComparisonSession()
Returns the comparison session this merge session is based on. -
Uses of IComparisonSession in com._1c.g5.v8.dt.compare.participant
Methods in com._1c.g5.v8.dt.compare.participant with parameters of type IComparisonSession Modifier and Type Method Description protected org.eclipse.emf.ecore.EClass
AbstractEmfBasedComparisonParticipant. adoptEClassToImport(org.eclipse.emf.ecore.EClass otherEClass, IComparisonSession session)
Converts, if possible, the other sideEClass
into a main supported by the main side to import object.org.eclipse.emf.ecore.EStructuralFeature
AbstractEmfBasedComparisonParticipant. adoptMainSideFeature(org.eclipse.emf.ecore.EStructuralFeature mainSideFeature, IComparisonSession session)
void
AbstractEmfBasedComparisonParticipant.BmIdsWrapper. createChildNode(LazyNodeProvider<? extends ComparisonNode> parentNodeProvider, IComparisonSession session, ComparedFeatures<org.eclipse.emf.ecore.EReference> comparedExternalProperties, AbstractComparedEmfObjects<?> comparingObject)
Creates new child node and stores it in the wrapped list.protected <T extends FeatureComparisonNode>
TAbstractEmfBasedComparisonParticipant. findChildNodeByFeature(IComparisonSession session, ComparisonNode parent, org.eclipse.emf.ecore.EStructuralFeature feature)
protected ContainmentComparisonNode
AbstractEmfBasedComparisonParticipant. findChildNodeByMatchedId(IComparisonSession session, ComparisonNode parent, MatchedEmfObjects matched)
protected AbstractEmfBasedComparisonParticipant.EObjectClassFeatures
AbstractEmfBasedComparisonParticipant. getClassFeatures(AbstractComparedEmfObjects<?> comparingObject, IComparisonSession session, boolean alwaysRecalculate)
Returns lists of features of the given EObjects being compared.protected AbstractEmfBasedComparisonParticipant.EObjectClassFeatures
AbstractEmfBasedComparisonParticipant. getClassFeatures(org.eclipse.emf.ecore.EObject object, IComparisonSession session)
Returns lists of features of the given EObject.protected List<String>
AbstractEmfBasedComparisonParticipant. getMultiReferenceSymlinks(org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EReference reference, IComparisonSession session, ComparisonSide side)
Returns list of symbolic links for objects referenced by the specified multi-reference feature from the specified context object.protected String
AbstractEmfBasedComparisonParticipant. getMultiReferenceValueSymlink(org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.ecore.EObject targetObject, IComparisonSession session, ComparisonSide side)
Returns symbolic link of the specified target object lying into collection of referencing objects specified by the given multi-reference feature.protected org.eclipse.emf.ecore.EStructuralFeature
AbstractEmfBasedComparisonParticipant. getOtherSideFeature(org.eclipse.emf.ecore.EStructuralFeature mainSideFeature, IComparisonSession session)
Converts, if possible, the main side feature into a other supported by the other side object.protected String
AbstractEmfBasedComparisonParticipant. getSingleReferenceSymlink(org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EReference reference, IComparisonSession session, ComparisonSide side)
Returns a symbolic link for an object defined by a single reference from the given context object.boolean
AbstractEmfBasedComparisonParticipant. isCandidateForPotentialMergeProblems(ComparisonNode node, IComparisonSession session)
boolean
AbstractEmfBasedComparisonParticipant. isExcludedFromComparison(org.eclipse.emf.ecore.EStructuralFeature feature, AbstractComparedEmfObjects<?> comparedContextObjects, IComparisonSession session)
void
AbstractEmfBasedComparisonParticipant. restoreCustomSettings(ComparisonNode node, SerializableMergeSettings container, IComparisonSession session)
void
AbstractEmfBasedComparisonParticipant. saveCustomSettings(ComparisonNode node, SerializableMergeSettings container, IComparisonSession session)
boolean
AbstractEmfBasedComparisonParticipant. supportsCustomMerging(ComparisonNode node, IComparisonSession session)
boolean
AbstractEmfBasedComparisonParticipant. supportsMergingUsingExternalTool(ComparisonNode node, IComparisonSession session)
boolean
AbstractEmfBasedComparisonParticipant. supportsPrioritizedMerging(ComparisonNode node, IComparisonSession session)
-
Uses of IComparisonSession in com._1c.g5.v8.dt.compare.settings.model
Methods in com._1c.g5.v8.dt.compare.settings.model with parameters of type IComparisonSession Modifier and Type Method Description SerializableMergeSettings
IMergeSettingsModel. getMergeSettingContainer(ComparisonNode comparisonNode, IComparisonSession comparisonSession)
Returns the restored join settings for the input node of the comparison tree, if they exist.boolean
IMergeSettingsModel. hasSettingsUnderTree(ComparisonNode comparisonNode, IComparisonSession comparisonSession)
Checks if there are restored merge settings for the current subtree.void
IMergeSettingsSerializerService. serialize(IComparisonSession comparisonSession, String fileName)
Serializes user-defined merge settings and correspondences from a comparison session to a file. -
Uses of IComparisonSession in com._1c.g5.v8.dt.compare.store
Constructors in com._1c.g5.v8.dt.compare.store with parameters of type IComparisonSession Constructor Description ComparisonNodeCacheKey(IComparisonSession session, ComparisonNode node)
Constructs a key. -
Uses of IComparisonSession in com._1c.g5.v8.dt.compare.ui.partialmodel
Methods in com._1c.g5.v8.dt.compare.ui.partialmodel with parameters of type IComparisonSession Modifier and Type Method Description protected void
AbstractEmfBasedPartialModelController. addFeatures(IPartialModel partialModel, AbstractPartialModelNode node, IComparisonSession session, ILinkRepresentationSupport linkRepresentationSupport, Collection<IPartialModelNode> output, ComparisonContext comparisonContext)
List<IPartialModelNode>
PartialModelController. check(IPartialModel partialModel, IPartialModelNode node, boolean checked, IComparisonSession comparisonSession)
Checks or unchecks a partial model node.protected IPartialEqualFeatureNode
AbstractEmfBasedPartialModelController. createEqualFeatureNode(IPartialModelNode parent, AbstractComparedEmfObjects<?> comparedParentObjects, org.eclipse.emf.ecore.EStructuralFeature feature, String mainLabel, String otherLabel, IImageProvider imageProvider, IComparisonSession session, ComparisonContext comparisonContext)
Creates equal partial node for the feature.protected IPartialFeatureNode
AbstractEmfBasedPartialModelController. createFeatureNode(IPartialModelNode parent, AbstractComparedEmfObjects<?> comparedParentObjects, ComparisonNode comparisonNode, org.eclipse.emf.ecore.EStructuralFeature feature, String mainLabel, String otherLabel, IComparisonSession session, ComparisonContext comparisonContext)
Creates the node for feature.Collection<IPartialModelNode>
AbstractEmfBasedPartialModelController. createInnerElements(IPartialModel partialModel, IPartialModelNode partialModelNode, IComparisonSession comparisonSession, ILinkRepresentationSupport linkRepresentationSupport, ComparisonContext comparisonContext)
protected void
AbstractEmfBasedPartialModelController. createInnerElements(AbstractNodeWithLabelsAndChildren forNode, IComparisonSession comparisonSession, IPartialModel partialModel, ILinkRepresentationSupport linkRepresentationSupport, Collection<IPartialModelNode> output, ComparisonContext comparisonContext)
Collection<IPartialModelNode>
IPartialModelControllerDelegate. createInnerElements(IPartialModel partialModel, IPartialModelNode partialModelNode, IComparisonSession comparisonSession, ILinkRepresentationSupport linkRepresentationSupport, ComparisonContext comparisonContext)
Creates inner elements for the specified partial model node.boolean
IPartialModelControllerDelegate. editMergeSettings(IPartialModel partialModel, IPartialModelNode node, IComparisonSession comparisonSession, org.eclipse.swt.widgets.Shell shell, boolean readOnly, org.eclipse.swt.graphics.Color colorHasDiffs, org.eclipse.swt.graphics.Color colorOnlyMain, org.eclipse.swt.graphics.Color colorOnlyOther, String mainComparisonSideName, String otherComparisonSideName, DtComparisonView parentComparisonView, ISelectionProviderDelegate selectionProviderDelegate, org.eclipse.jface.resource.ResourceManager resourceManager)
If the node is supported, handles the editing of the specified node's merge settings.void
PartialModelController. editMergeSettings(IPartialModel partialModel, IPartialModelNode node, IComparisonSession comparisonSession, org.eclipse.swt.widgets.Shell shell, boolean readOnly, org.eclipse.swt.graphics.Color colorHasDiffs, org.eclipse.swt.graphics.Color colorOnlyMain, org.eclipse.swt.graphics.Color colorOnlyOther, String mainComparisonSideName, String otherComparisonSideName, DtComparisonView parentComparisonView, ISelectionProviderDelegate selectionProviderDelegate, org.eclipse.jface.resource.ResourceManager resourceManager)
Edits merge settings of the specified partial model node in the UI.Collection<IPartialModelNode>
IPartialModelControllerDelegate. fillNodeProperties(IPartialModel partialModel, IDirectPartialModelNode directNode, IComparisonSession session, ILinkRepresentationSupport linkRepresentationSupport, ComparisonContext comparisonContext)
Fills properties of the specified direct partial model node according to the comparison model node.Object[]
PartialModelController. getChildren(Object parentElement, IPartialModel partialModel, ILinkRepresentationSupport linkRepresentationSupport, IDtComparisonViewRefresher refresher, IComparisonSession comparisonSession)
Returns the children of the specified parent element.protected List<IPartialFeatureNode>
AbstractEmfBasedPartialModelController. getChildrenFeatureNodes(IPartialModel partialModel, AbstractPartialModelNode node, IComparisonSession session, ILinkRepresentationSupport linkRepresentationSupport, Collection<IPartialModelNode> output, ComparisonContext comparisonContext)
protected List<IPartialModelNode>
AbstractEmfBasedPartialModelController. getChildrenListNodes(IPartialModel partialModel, IPartialFeatureNode forNode, IComparisonSession session, ComparisonContext comparisonContext)
protected IImageProvider
AbstractEmfBasedPartialModelController. getListElementImageProvider(IComparedObjects<?> comparedObjects, IComparisonSession session)
protected String
AbstractEmfBasedPartialModelController. getRepresentation(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IComparisonSession session, ComparisonSide side)
protected boolean
AbstractEmfBasedPartialModelController. isExpandableFeatureNodeRequired(ComparisonNode node, AbstractComparedEmfObjects<?> comparedParentObjects, org.eclipse.emf.ecore.EStructuralFeature feature, IComparisonSession session)
Checks whether we need to build an expandable partial node with children for the feature node.IPartialModelNode
IPartialModelControllerDelegate. positionChildNode(IPartialModel partialModel, IPartialModelNode parentNode, ComparisonNode modelNode, IComparisonSession comparisonSession)
If supported by this controller, positions the specified comparison model node in a subtree of the specified partial model node.boolean
PartialModelController. positionChildNode(IPartialModel partialModel, IPartialModelNode parentNode, ComparisonNode modelNode, IComparisonSession comparisonSession)
Positions the specified comparison model node in a subtree of the specified partial model node.boolean
IPartialModelControllerDelegate. refreshNode(IPartialModel partialModel, IPartialModelNode node, IComparisonSession comparisonSession)
Refreshes the partial model node properties according to the supported logic.void
PartialModelController. refreshNodes(IPartialModel partialModel, Collection<IPartialModelNode> nodes, IComparisonSession comparisonSession)
Refreshes the properties of the specified nodes.void
PartialModelController. refreshNodeWithChildren(IPartialModel partialModel, IPartialModelNode node, IComparisonSession comparisonSession)
Refreshes the properties of the specified node and all its children.boolean
IPartialModelControllerDelegate. setMergeRule(IPartialModel partialModel, IComparisonSession comparisonSession, IMergeRulePartialModelNode node, MergeRule rule, ComparisonContext comparisonContext)
Handles the merge rule change.void
PartialModelController. setMergeRule(IPartialModel partialModel, IMergeRulePartialModelNode node, MergeRule rule, IComparisonSession comparisonSession)
Sets the merge rule for the specified partial model node. -
Uses of IComparisonSession in com._1c.g5.v8.dt.compare.ui.partialmodel.node
Methods in com._1c.g5.v8.dt.compare.ui.partialmodel.node that return IComparisonSession Modifier and Type Method Description IComparisonSession
AbstractPartialModelNode. getComparisonSession()
IComparisonSession
IPartialModelNode. getComparisonSession()
Gets the comparison session associated with this partial node.IComparisonSession
VirtualFolderPartialModelNode. getComparisonSession()
Constructors in com._1c.g5.v8.dt.compare.ui.partialmodel.node with parameters of type IComparisonSession Constructor Description AbstractDirectPartialModelNode(ComparisonNode comparisonNode, IComparisonSession comparisonSession)
Constructs a direct node.AbstractDirectPartialModelNode(IPartialModelNode parent, ComparisonNode comparisonNode, boolean checked, IComparisonSession comparisonSession)
Constructs a direct node.AbstractDirectPartialModelNode(IPartialModelNode parent, ComparisonNode comparisonNode, IComparisonSession comparisonSession)
Constructs a direct node.AbstractEqualNodeWithChildren(IPartialModelNode parent, org.eclipse.emf.ecore.EObject modelObject, org.eclipse.emf.ecore.EStructuralFeature feature, int modelObjectPosition, ComparisonSide objectSide, String label, IImageProvider imageProvider, IComparisonSession comparisonSession)
Constructs a node.AbstractNodeWithLabels(IPartialModelNode parent, ComparisonNode node, String mainLabel, String otherLabel, IImageProvider imageProvider, IComparisonSession comparisonSession)
Constructs partial node for the specified comparison node.AbstractNodeWithLabels(IPartialModelNode parent, String label, ComparisonSide objectSide, IImageProvider imageProvider, IComparisonSession comparisonSession)
Constructs partial node when the comparison node is absent.AbstractNodeWithLabelsAndChildren(IPartialModelNode parent, ComparisonNode comparisonNode, String mainLabel, String otherLabel, IImageProvider imageProvider, IComparisonSession comparisonSession)
Constructs a node for the specified comparison node.AbstractNodeWithLabelsAndChildren(IPartialModelNode parent, String label, ComparisonSide objectSide, IImageProvider imageProvider, IComparisonSession comparisonSession)
Constructs partial node when the comparison node is absent.AbstractPartialModelNode(ComparisonNode comparisonNode, IComparisonSession comparisonSession)
Constructs a node without a parent.AbstractPartialModelNode(IPartialModelNode parent, ComparisonNode comparisonNode, IComparisonSession comparisonSession)
Constructs a node with the specified parent.AbstractPartialModelNodeWithChildren(ComparisonNode comparisonNode, IComparisonSession comparisonSession)
Constructs a node without a parent.AbstractPartialModelNodeWithChildren(IPartialModelNode parent, ComparisonNode comparisonNode, IComparisonSession comparisonSession)
Constructs a node.EmfFeatureNodeWithChildren(IPartialModelNode parent, ComparisonNode comparisonNode, String mainLabel, String otherLabel, IImageProvider imageProvider, IComparisonSession comparisonSession)
Constructs a node for the given comparison node.EmfFeatureTerminalNode(IPartialModelNode parent, ComparisonNode comparisonNode, String mainLabel, String otherLabel, IImageProvider imageProvider, IComparisonSession comparisonSession)
Constructs a node for the given comparison node.EmfFeatureTerminalNode(IPartialModelNode parent, ComparisonNode comparisonNode, org.eclipse.emf.ecore.EStructuralFeature feature, String mainLabel, String otherLabel, IImageProvider imageProvider, IComparisonSession comparisonSession)
Constructs a node for the given feature and the comparison node.EmfFeatureTerminalNode(IPartialModelNode parent, org.eclipse.emf.ecore.EStructuralFeature feature, String label, ComparisonSide objectSide, IImageProvider imageProvider, IComparisonSession comparisonSession)
Constructs a node when no comparison node is given.EqualEmfFeatureNodeWithChildren(IPartialModelNode parent, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.emf.ecore.EObject modelObject, ComparisonSide objectSide, String mainLabel, String otherLabel, IImageProvider imageProvider, IComparisonSession comparisonSession)
Constructs a node for the given feature and corresponding object Id.EqualEmfFeatureTerminalNode(IPartialModelNode parent, org.eclipse.emf.ecore.EStructuralFeature feature, ComparisonSide objectSide, String mainLabel, String otherLabel, IImageProvider imageProvider, IComparisonSession comparisonSession)
Constructs a node for the given feature.EqualListElementNodeWithChildren(IPartialFeatureNode parent, org.eclipse.emf.ecore.EObject modelObject, org.eclipse.emf.ecore.EStructuralFeature parentFeature, int mainPosition, int otherPosition, ComparisonSide objectSide, String representation, IImageProvider imageProvider, String label, IComparisonSession comparisonSession)
Constructs a node.EqualListElementTerminalNode(IPartialFeatureNode parent, String representation, int mainPosition, int otherPosition, ComparisonSide objectSide, IImageProvider imageProvider, String label, IComparisonSession comparisonSession)
Constructs a node.EqualListElementTerminalNode(IPartialFeatureNode parent, String representation, String renamedOtherRepresentation, int mainPosition, int otherPosition, ComparisonSide objectSide, IImageProvider imageProvider, String label, IComparisonSession comparisonSession)
Constructs a node.EqualListElementTerminalNode(IPartialModelNode parent, String representation, org.eclipse.emf.ecore.EStructuralFeature parentFeature, int mainPosition, int otherPosition, ComparisonSide objectSide, IImageProvider imageProvider, String label, IComparisonSession comparisonSession)
Constructs a node with the specified object's parent feature.EqualReferenceListElementTerminalNode(IPartialFeatureNode parent, String mainRepresentation, String otherRepresentation, int mainPosition, int otherPosition, ComparisonSide objectSide, IImageProvider imageProvider, String label, IComparisonSession comparisonSession)
Constructs a nodeExternalPropertyPartialModelNode(IPartialModelNode parent, ExternalPropertyComparisonNode comparisonNode, IComparisonSession comparisonSession)
Constructs a node.ListElementNodeWithChildren(IPartialFeatureNode parent, ComparisonNode comparisonNode, String mainLabel, String otherLabel, IImageProvider imageProvider, String label, IComparisonSession comparisonSession)
Constructs a node.ListElementTerminalNode(IPartialModelNode parent, ComparisonNode node, String mainLabel, String otherLabel, IImageProvider imageProvider, String label, IComparisonSession comparisonSession)
Constructs partial node for the specified comparison node.ListElementTerminalNode(IPartialModelNode parent, String representation, org.eclipse.emf.ecore.EStructuralFeature parentFeature, int mainPosition, int otherPosition, ComparisonSide objectSide, IImageProvider imageProvider, String label, IComparisonSession comparisonSession)
Constructs partial node when the comparison node is absent.ProjectPartialModelNode(IComparisonSession comparisonSession)
Constructs a root project node. -
Uses of IComparisonSession in com._1c.g5.v8.dt.compare.ui.util
Methods in com._1c.g5.v8.dt.compare.ui.util with parameters of type IComparisonSession Modifier and Type Method Description static <T extends FeatureComparisonNode>
TCompareUiUtils. findComparisonNode(ComparisonNode parent, org.eclipse.emf.ecore.EStructuralFeature feature, IComparisonSession session)
Finds child comparison node with the given feature. -
Uses of IComparisonSession in com._1c.g5.v8.dt.md.compare.matching
Methods in com._1c.g5.v8.dt.md.compare.matching that return IComparisonSession Modifier and Type Method Description protected IComparisonSession
AbstractMdObjectMatcher. getSession()
Returns the comparison session.Constructors in com._1c.g5.v8.dt.md.compare.matching with parameters of type IComparisonSession Constructor Description AbstractMdObjectMatcher(IComparisonSession session, MdCollectionComparisonNode parentCollectionNode, List<T> mainObjects, List<T> otherObjects, List<T> ancestorObjects)
Constructs a matcher.ChildMdObjectMatcher(IComparisonSession session, ChildMdCollectionComparisonNode parentCollectionNode, List<MdObject> mainObjects, List<MdObject> otherObjects, List<MdObject> ancestorObjects, com._1c.g5.v8.dt.internal.md.compare.MdObjectResource mainResource, com._1c.g5.v8.dt.internal.md.compare.MdObjectResource otherResource, com._1c.g5.v8.dt.internal.md.compare.MdObjectResource ancestorResource, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, com._1c.g5.v8.dt.internal.md.compare.MdComparisonNodeFactory nodeFactory)
Constructs a matcher.PredefinedMdObjectMatcher(IComparisonSession session, MergeRule mergeRule, Predefined main, Predefined other, Predefined ancestor)
Creates matcher instance.TopObjectMatcher(IComparisonSession session, TopMdCollectionComparisonNode parentCollectionNode, List<TopObjectInfo> mainObjects, List<TopObjectInfo> otherObjects, List<TopObjectInfo> ancestorObjects, com._1c.g5.v8.dt.internal.md.compare.MdComparisonNodeFactory nodeFactory)
Creates a new instance. -
Uses of IComparisonSession in com._1c.g5.v8.dt.md.compare.participant
Methods in com._1c.g5.v8.dt.md.compare.participant with parameters of type IComparisonSession Modifier and Type Method Description ComparisonFlags
AbstractHtmlPageComparator. compareHtmlPageFile(TopComparisonNode topParent, AbstractComparedEmfObjects<T> comparingHtmlPages, IComparisonSession session)
Compares the Html page file.ComparisonFlags
AbstractHtmlPictureComparator. compareHtmlPictureFiles(TopComparisonNode topParent, IComparisonSession session)
Compares the Html picture files.MergeRule
AbstractMdAwareComparisonParticipant. getDefaultMergeRule(ComparisonNode node, IComparisonSession session)
boolean
AbstractMdAwareComparisonParticipant. supportsPrioritizedMerging(ComparisonNode node, IComparisonSession session)
-
Uses of IComparisonSession in com._1c.g5.v8.dt.rights.compare.ui
Methods in com._1c.g5.v8.dt.rights.compare.ui with parameters of type IComparisonSession Modifier and Type Method Description protected IPartialFeatureNode
RightsPartialModelController. createFeatureNode(IPartialModelNode parent, AbstractComparedEmfObjects<?> comparedParentObjects, ComparisonNode comparisonNode, org.eclipse.emf.ecore.EStructuralFeature feature, String mainLabel, String otherLabel, IComparisonSession session, ComparisonContext comparisonContext)
boolean
RightsPartialModelController. editMergeSettings(IPartialModel partialModel, IPartialModelNode node, IComparisonSession comparisonSession, org.eclipse.swt.widgets.Shell shell, boolean readOnly, org.eclipse.swt.graphics.Color colorHasDiffs, org.eclipse.swt.graphics.Color colorOnlyMain, org.eclipse.swt.graphics.Color colorOnlyOther, String mainComparisonSideName, String otherComparisonSideName, DtComparisonView parentComparisonView, ISelectionProviderDelegate selectionProviderDelegate, org.eclipse.jface.resource.ResourceManager resourceManager)
Collection<IPartialModelNode>
RightsPartialModelController. fillNodeProperties(IPartialModel partialModel, IDirectPartialModelNode directNode, IComparisonSession session, ILinkRepresentationSupport linkRepresentationSupport, ComparisonContext comparisonContext)
protected List<IPartialFeatureNode>
RightsPartialModelController. getChildrenFeatureNodes(IPartialModel partialModel, AbstractPartialModelNode node, IComparisonSession session, ILinkRepresentationSupport linkRepresentationSupport, Collection<IPartialModelNode> output, ComparisonContext comparisonContext)
IPartialModelNode
RightsPartialModelController. positionChildNode(IPartialModel partialModel, IPartialModelNode parentNode, ComparisonNode modelNode, IComparisonSession comparisonSession)
boolean
RightsPartialModelController. refreshNode(IPartialModel partialModel, IPartialModelNode node, IComparisonSession comparisonSession)
boolean
RightsPartialModelController. setMergeRule(IPartialModel partialModel, IComparisonSession comparisonSession, IMergeRulePartialModelNode originalNode, MergeRule rule, ComparisonContext comparisonContext)
-
Uses of IComparisonSession in com._1c.g5.v8.dt.testing.compare
Methods in com._1c.g5.v8.dt.testing.compare with parameters of type IComparisonSession Modifier and Type Method Description static void
CompareTestUtils. addCatalogAndWait(String catalogSymlink, IComparisonSession session, IComparisonManager comparisonManager, IV8ProjectManager v8ProjectManager, IWorkspaceOrchestrator workspaceOrchestrator)
Adds new Catalog object into the MAIN DT project under the active comparison session.static void
AssertCompare. assertBothSidesContainmentNodeExists(IComparisonSession session, String mainNearestTopNodeSymlink, String otherNearestTopNodeSymlink, org.eclipse.emf.ecore.EStructuralFeature... featuresPath)
static void
AssertCompare. assertBothSidesContainmentNodeExists(IComparisonSession session, String nearestTopNodeSymlink, org.eclipse.emf.ecore.EStructuralFeature... featuresPath)
static void
AssertCompare. assertBothSidesContainmentNodeExists(String message, IComparisonSession session, String mainNearestTopNodeSymlink, String otherNearestTopNodeSymlink, org.eclipse.emf.ecore.EStructuralFeature... featuresPath)
static void
AssertCompare. assertBothSidesNodeExists(IComparisonSession session, String symlink)
static void
AssertCompare. assertBothSidesNodeExists(IComparisonSession session, String mainSymlink, String otherSymlink)
static void
AssertCompare. assertBothSidesNodeExists(String message, IComparisonSession session, String symlink)
static void
AssertCompare. assertBothSidesNodeExists(String message, IComparisonSession session, String mainSymlink, String otherSymlink)
static void
AssertCompare. assertContainmentNodeCanBeMerged(IComparisonSession session, String nearestTopNodeSymlink, boolean expectedCanBeMerged, org.eclipse.emf.ecore.EStructuralFeature... featuresPath)
static void
AssertCompare. assertContainmentNodeDoesNotExist(IComparisonSession session, String nearestTopNodeSymlink, org.eclipse.emf.ecore.EStructuralFeature... featurePath)
static void
AssertCompare. assertContainmentNodeHasDoubleChanges(IComparisonSession session, String nearestTopNodeSymlink, boolean expectedHasDoubleChanges, org.eclipse.emf.ecore.EStructuralFeature... featuresPath)
static void
AssertCompare. assertContainmentNodeHasMergeRule(IComparisonSession session, String symlink, MergeRule expectedMergeRule, org.eclipse.emf.ecore.EStructuralFeature... featuresPath)
static void
AssertCompare. assertContainmentNodeMustBeMerged(IComparisonSession session, String nearestTopNodeSymlink, boolean expectedMustBeMerged, org.eclipse.emf.ecore.EStructuralFeature... featuresPath)
static void
AssertCompare. assertCorrespondenceEstablished(IComparisonSession session, String mainSymlink, String otherSymlink, String ancestorSymlink)
static void
AssertCompare. assertOneSideContainmentNodeExists(IComparisonSession session, ComparisonSide side, String nearestTopNodeSymlink, org.eclipse.emf.ecore.EStructuralFeature... featuresPath)
static void
AssertCompare. assertOneSideNodeExists(IComparisonSession session, String symlink, ComparisonSide side)
static void
AssertCompare. assertThreeSidesContainmentNodeExists(IComparisonSession session, String mainNearestTopNodeSymlink, String otherNearestTopNodeSymlink, String ancestorNearestTopNodeSymlink, org.eclipse.emf.ecore.EStructuralFeature... featuresPath)
static void
AssertCompare. assertThreeSidesContainmentNodeExists(IComparisonSession session, String nearestTopNodeSymlink, org.eclipse.emf.ecore.EStructuralFeature... featuresPath)
static void
AssertCompare. assertThreeSidesNodeExists(IComparisonSession session, String symlink)
static void
AssertCompare. assertThreeSidesNodeExists(IComparisonSession session, String mainSymlink, String otherSymlink, String ancestorSymlink)
static void
AssertCompare. assertTopNodeCanBeMerged(IComparisonSession session, String symlink, boolean expectedCanBeMerged)
static void
AssertCompare. assertTopNodeComparisonStatusEqualsTo(IComparisonSession session, String symlink, ComparisonNodeStatus expectedComparisonNodeStatus)
static void
AssertCompare. assertTopNodeDoesNotExist(IComparisonSession session, String symlink)
static void
AssertCompare. assertTopNodeHasDoubleChanges(IComparisonSession session, String symlink, boolean expectedHasDoubleChanges)
static void
AssertCompare. assertTopNodeHasMergeRule(IComparisonSession session, String symlink, MergeRule expectedMergeRule)
static void
AssertCompare. assertTopNodeMustBeMerged(IComparisonSession session, String symlink, boolean expectedMustBeMerged)
static void
AssertCompare. assertTopNodeMustBeMerged(String message, IComparisonSession session, String symlink, boolean expectedMustBeMerged)
void
ICompareMergeResultChecker. checkComparisonResult(IComparisonSession session)
Validates comparison results.static void
CompareTestUtils. disableConfigurationNameMerging(IComparisonSession session)
static <T extends FeatureComparisonNode>
TCompareTestUtils. findChildNodeByFeature(IComparisonSession session, ComparisonNode parent, org.eclipse.emf.ecore.EStructuralFeature feature)
static <T extends ComparisonNode>
TCompareTestUtils. findChildNodeByFeaturePath(IComparisonSession session, ComparisonNode nearestTopNode, org.eclipse.emf.ecore.EStructuralFeature... featuresPath)
static BslModuleSectionComparisonNode
CompareTestUtils. findMethodOrProcedure(IComparisonSession session, BslModuleComparisonNode parent, String methodName)
static IComparedObjects<?>
CompareTestUtils. getComparedObjects(IComparisonSession session, ComparisonNode node)
static <T extends ComparisonNode>
TCompareTestUtils. getContainmentNode(IComparisonSession session, String nearestTopNodeSymlink, org.eclipse.emf.ecore.EStructuralFeature... featuresPath)
static TopComparisonNode
CompareTestUtils. getTopNode(IComparisonSession session, String symlink)
static void
CompareTestUtils. setCorrespondencesAndWait(IComparisonManager comparisonManager, IComparisonSession session, ObjectsTriple<String> correspondence)
static void
BslCompareTestUtils. setCustomMergeResult(IComparisonSession session, ComparisonNode node, String customMergeResult)
static void
BslCompareTestUtils. setMergeConflicts(IComparisonSession session, ComparisonNode node, List<BslCompareTestUtils.MergeConflictDescription> mergeConflictDescriptions)
static void
CompareTestUtils. setMergeRule(IComparisonSession session, ComparisonNode node, MergeRule ruleToSet)
static void
CompareTestUtils. setOrderSide(IComparisonSession session, ComparisonNode node, ComparisonSide orderSideToSet)
-