Interface IDtComparisonViewDataProvider
-
public interface IDtComparisonViewDataProvider
Data provider forIDtComparisonView
control.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<SymlinkComparisonNode>
getPotentialCorrespondingNodes(IPartialModelNode node, ComparisonSide sourceSide)
Returns list of potential corresponding nodes for the specified node.ITreeContentProvider
getTreeContentProvider()
Returns content provider for the comparison tree.boolean
isAbleToBreakCorrespondence(IPartialModelNode node)
Tells whether it is possible to break correspondence for the specified node.boolean
supportsComparisonUsingExternalTool(IPartialModelNode node)
Tells whether the specified node supports comparison using external tool.boolean
supportsMergingUsingExternalTool(IPartialModelNode node)
Tells whether the specified node supports merging using external tool.
-
-
-
Method Detail
-
getTreeContentProvider
ITreeContentProvider getTreeContentProvider()
Returns content provider for the comparison tree.- Returns:
- the comparison tree, never
null
-
getPotentialCorrespondingNodes
List<SymlinkComparisonNode> getPotentialCorrespondingNodes(IPartialModelNode node, ComparisonSide sourceSide)
Returns list of potential corresponding nodes for the specified node. Only nodes with symlinks are supported.- Parameters:
node
- the node for which to find potential corresponding nodes, can not benull
sourceSide
- the comparison side, can not benull
- Returns:
- the list of potential corresponding nodes, never
null
-
isAbleToBreakCorrespondence
boolean isAbleToBreakCorrespondence(IPartialModelNode node)
Tells whether it is possible to break correspondence for the specified node.- Parameters:
node
- the node to check, can not benull
- Returns:
true
if breaking is possible,false
otherwise
-
supportsComparisonUsingExternalTool
boolean supportsComparisonUsingExternalTool(IPartialModelNode node)
Tells whether the specified node supports comparison using external tool.- Parameters:
node
- the partial model node, cannot benull
- Returns:
true
if the specified node supports comparison using external tool,false
otherwise
-
supportsMergingUsingExternalTool
boolean supportsMergingUsingExternalTool(IPartialModelNode node)
Tells whether the specified node supports merging using external tool.- Parameters:
node
- the partial model node, cannot benull
- Returns:
true
if the specified node supports merging using external tool,false
otherwise
-
-