Interface IDtComparisonViewDataProvider


  • public interface IDtComparisonViewDataProvider
    Data provider for IDtComparisonView control.
    • 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 be null
        sourceSide - the comparison side, can not be null
        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 be null
        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 be null
        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 be null
        Returns:
        true if the specified node supports merging using external tool, false otherwise