Uses of Class
com._1c.g5.v8.dt.compare.model.MergeRule
-
-
Uses of MergeRule in com._1c.g5.v8.dt.bsl.compare.merge
Methods in com._1c.g5.v8.dt.bsl.compare.merge with parameters of type MergeRule Modifier and Type Method Description static String
MergeFormattingSupport. merge(String mainModuleContent, String otherModuleContent, MergeRule mergeRule)
Runs 2-way merge for the given Bsl module text contents according to the special merge rule.static String
MergeFormattingSupport. merge(String mainModuleContent, String otherModuleContent, String ancestorModuleContent, MergeRule mergeRule)
Runs 3-way merge for the given Bsl module text contents according to the special merge rule.static String
MergeFormattingSupport. merge(String mainModuleContent, String otherModuleContent, String ancestorModuleContent, MergeRule mergeRule, List<MergeResultDifference> mergeConflicts)
Runs 3-way merge for the given Bsl module text contents according to the special merge rule and collects merge conflicts. -
Uses of MergeRule in com._1c.g5.v8.dt.compare.core
Methods in com._1c.g5.v8.dt.compare.core that return MergeRule Modifier and Type Method Description MergeRule
IComparisonParticipant. getDefaultMergeRule(ComparisonNode node, IComparisonSession session)
Returns the default merge rule for the given node.MergeRule
SerializableMergeSettings. getMergeRule()
Gets stored merge rule.Methods in com._1c.g5.v8.dt.compare.core with parameters of type MergeRule Modifier and Type Method Description boolean
IComparisonSession. setMergeRule(long nodeId, MergeRule rule, ComparisonContext comparisonContext)
Sets the given merge rule to the specified node.void
SerializableMergeSettings. setMergeRule(MergeRule mergeRule)
Sets merge rule. -
Uses of MergeRule in com._1c.g5.v8.dt.compare.matching
Constructors in com._1c.g5.v8.dt.compare.matching with parameters of type MergeRule 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 MergeRule in com._1c.g5.v8.dt.compare.model
Fields in com._1c.g5.v8.dt.compare.model with type parameters of type MergeRule Modifier and Type Field Description static List<MergeRule>
MergeRule. VALUES
A public read-only list of all the 'Merge Rule' enumerators.Methods in com._1c.g5.v8.dt.compare.model that return MergeRule Modifier and Type Method Description static MergeRule
MergeRule. get(int value)
Returns the 'Merge Rule' literal with the specified integer value.static MergeRule
MergeRule. get(String literal)
Returns the 'Merge Rule' literal with the specified literal value.static MergeRule
MergeRule. getByName(String name)
Returns the 'Merge Rule' literal with the specified name.MergeRule
MergeSettings. getDefaultMergeRule()
Returns the value of the 'Default Merge Rule' attribute.MergeRule
MergeSettings. getMergeRule()
Returns the value of the 'Merge Rule' attribute.static MergeRule
MergeRuleUtils. orderSideToMergeRule(ComparisonSide orderSide)
Converts order side into merge rule.static MergeRule
MergeRule. valueOf(String name)
Returns the enum constant of this type with the specified name.static MergeRule[]
MergeRule. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com._1c.g5.v8.dt.compare.model that return types with arguments of type MergeRule Modifier and Type Method Description org.eclipse.emf.common.util.EList<MergeRule>
MergeSettings. getAvailableMergeRules()
Returns the value of the 'Available Merge Rules' attribute list.Methods in com._1c.g5.v8.dt.compare.model with parameters of type MergeRule Modifier and Type Method Description static String
MergeRuleUtils. getShortRepresentation(MergeRule rule)
Returns a short (4 character) representation of the merge rule.static String
MergeRuleUtils. getTitle(MergeRule rule)
Returns the title of the rule for pretty printing.static ComparisonSide
MergeRuleUtils. mergeRuleToOrderSide(MergeRule mergeRule)
Converts merge rule into order side.void
MergeSettings. setDefaultMergeRule(MergeRule value)
Sets the value of the 'Default Merge Rule
' attribute.void
MergeSettings. setMergeRule(MergeRule value)
Sets the value of the 'Merge Rule
' attribute. -
Uses of MergeRule in com._1c.g5.v8.dt.compare.model.impl
Methods in com._1c.g5.v8.dt.compare.model.impl that return MergeRule Modifier and Type Method Description MergeRule
CompareFactoryImpl. createMergeRuleFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
MergeRule
MergeSettingsImpl. getDefaultMergeRule()
MergeRule
MergeSettingsImpl. getMergeRule()
Methods in com._1c.g5.v8.dt.compare.model.impl that return types with arguments of type MergeRule Modifier and Type Method Description org.eclipse.emf.common.util.EList<MergeRule>
MergeSettingsImpl. getAvailableMergeRules()
Methods in com._1c.g5.v8.dt.compare.model.impl with parameters of type MergeRule Modifier and Type Method Description void
MergeSettingsImpl. setDefaultMergeRule(MergeRule newDefaultMergeRule)
void
MergeSettingsImpl. setMergeRule(MergeRule newMergeRule)
-
Uses of MergeRule in com._1c.g5.v8.dt.compare.ui.editor
Methods in com._1c.g5.v8.dt.compare.ui.editor with parameters of type MergeRule Modifier and Type Method Description void
IDtComparisonViewListener. mergeRuleChanged(IMergeRulePartialModelNode node, MergeRule newRule)
Called when merge rule has been changed for the node. -
Uses of MergeRule in com._1c.g5.v8.dt.compare.ui.partialmodel
Methods in com._1c.g5.v8.dt.compare.ui.partialmodel with parameters of type MergeRule Modifier and Type Method Description 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 MergeRule in com._1c.g5.v8.dt.compare.ui.partialmodel.node
Methods in com._1c.g5.v8.dt.compare.ui.partialmodel.node that return MergeRule Modifier and Type Method Description MergeRule
AbstractNodeWithLabels. getMergeRule()
MergeRule
ExternalPropertyPartialModelNode. getMergeRule()
MergeRule
IMergeRulePartialModelNode. getMergeRule()
Returns the merge rule.Methods in com._1c.g5.v8.dt.compare.ui.partialmodel.node that return types with arguments of type MergeRule Modifier and Type Method Description List<MergeRule>
AbstractNodeWithLabels. getAvailableMergeRules()
List<MergeRule>
ExternalPropertyPartialModelNode. getAvailableMergeRules()
List<MergeRule>
IMergeRulePartialModelNode. getAvailableMergeRules()
Returns list of available merge rules.Methods in com._1c.g5.v8.dt.compare.ui.partialmodel.node with parameters of type MergeRule Modifier and Type Method Description void
AbstractNodeWithLabels. setMergeRule(MergeRule rule)
void
ExternalPropertyPartialModelNode. setMergeRule(MergeRule rule)
void
IMergeRulePartialModelNode. setMergeRule(MergeRule rule)
Sets the merge rule. -
Uses of MergeRule in com._1c.g5.v8.dt.md.compare.matching
Constructors in com._1c.g5.v8.dt.md.compare.matching with parameters of type MergeRule Constructor Description PredefinedMdObjectMatcher(IComparisonSession session, MergeRule mergeRule, Predefined main, Predefined other, Predefined ancestor)
Creates matcher instance. -
Uses of MergeRule in com._1c.g5.v8.dt.md.compare.participant
Methods in com._1c.g5.v8.dt.md.compare.participant that return MergeRule Modifier and Type Method Description MergeRule
AbstractMdAwareComparisonParticipant. getDefaultMergeRule(ComparisonNode node, IComparisonSession session)
Methods in com._1c.g5.v8.dt.md.compare.participant with parameters of type MergeRule Modifier and Type Method Description protected boolean
AbstractMdAwareComparisonParticipant. isFeatureTakenFromPreferredSide(org.eclipse.emf.ecore.EObject item, org.eclipse.emf.ecore.EStructuralFeature feature, MatchedEmfObjects matchedElement, MergeRule rule)
Checks whether specified feature of a merged item got from the preferred side or not. -
Uses of MergeRule in com._1c.g5.v8.dt.rights.compare.ui
Methods in com._1c.g5.v8.dt.rights.compare.ui with parameters of type MergeRule Modifier and Type Method Description boolean
RightsPartialModelController. setMergeRule(IPartialModel partialModel, IComparisonSession comparisonSession, IMergeRulePartialModelNode originalNode, MergeRule rule, ComparisonContext comparisonContext)
-
Uses of MergeRule in com._1c.g5.v8.dt.testing.compare
Methods in com._1c.g5.v8.dt.testing.compare with parameters of type MergeRule Modifier and Type Method Description static void
AssertCompare. assertContainmentNodeHasMergeRule(IComparisonSession session, String symlink, MergeRule expectedMergeRule, org.eclipse.emf.ecore.EStructuralFeature... featuresPath)
static void
AssertCompare. assertTopNodeHasMergeRule(IComparisonSession session, String symlink, MergeRule expectedMergeRule)
static void
CompareTestUtils. setMergeRule(IComparisonSession session, ComparisonNode node, MergeRule ruleToSet)
-