Interface IDtComparisonViewListener


  • public interface IDtComparisonViewListener
    Listener of DtComparisonView events.
    • Method Detail

      • correspondenceChanged

        void correspondenceChanged​(int comparisonSessionId,
                                   String mainSymlink,
                                   String otherSymlink)
        Called when correspondence has been changed.
        Parameters:
        comparisonSessionId - the comparison session id associated with this correspondence change
        mainSymlink - the main symlink (the source node side), can not be null
        otherSymlink - the other side symlink, may be {@code null
      • nodeCheckStateChanged

        List<IPartialModelNode> nodeCheckStateChanged​(IPartialModelNode node,
                                                      boolean checked)
        Called when check state of the node has been checked.
        Parameters:
        node - the node which state has been changed, can not be null
        checked - true if node has been checked, false otherwise
        Returns:
        list of nodes which state has been possibly updated, never null
      • nodeExpanded

        void nodeExpanded​(IPartialModelNode node)
        Called when node has been expanded.
        Parameters:
        node - the node expanded, can not be null
      • nodeSelected

        void nodeSelected​(IPartialModelNode node)
        Called when node has been selected.
        Parameters:
        node - the node selected, can not be null
      • mergeSettingsClicked

        void mergeSettingsClicked​(DtComparisonView comparisonView,
                                  IPartialModelNode node)
        Called when merge settings button has been clicked.
        Parameters:
        comparisonView - the comparison view holding this listener, can not be null
        node - the node for which merge settings have been clicked, can not be null
      • mergeRuleChanged

        void mergeRuleChanged​(IMergeRulePartialModelNode node,
                              MergeRule newRule)
        Called when merge rule has been changed for the node.
        Parameters:
        node - the node for which rule has been changed, can not be null
        newRule - the new rule, can not be null
      • compareUsingExternalToolCommandCalled

        void compareUsingExternalToolCommandCalled​(IPartialModelNode node)
        Called when the 'Compare using external tool' command has been called.
        Parameters:
        node - the node for which command has been called, cannot be null
      • mergeUsingExternalToolCommandCalled

        void mergeUsingExternalToolCommandCalled​(IPartialModelNode node)
        Called when the 'Merge using external tool' command has been called.
        Parameters:
        node - the node for which command has been called, cannot be null