Interface IDtComparisonViewListener
-
public interface IDtComparisonViewListener
Listener ofDtComparisonView
events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
compareUsingExternalToolCommandCalled(IPartialModelNode node)
Called when the 'Compare using external tool' command has been called.void
correspondenceChanged(int comparisonSessionId, String mainSymlink, String otherSymlink)
Called when correspondence has been changed.void
mergeRuleChanged(IMergeRulePartialModelNode node, MergeRule newRule)
Called when merge rule has been changed for the node.void
mergeSettingsClicked(DtComparisonView comparisonView, IPartialModelNode node)
Called when merge settings button has been clicked.void
mergeUsingExternalToolCommandCalled(IPartialModelNode node)
Called when the 'Merge using external tool' command has been called.List<IPartialModelNode>
nodeCheckStateChanged(IPartialModelNode node, boolean checked)
Called when check state of the node has been checked.void
nodeExpanded(IPartialModelNode node)
Called when node has been expanded.void
nodeSelected(IPartialModelNode node)
Called when node has been selected.
-
-
-
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 changemainSymlink
- the main symlink (the source node side), can not benull
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 benull
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 benull
-
nodeSelected
void nodeSelected(IPartialModelNode node)
Called when node has been selected.- Parameters:
node
- the node selected, can not benull
-
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 benull
node
- the node for which merge settings have been clicked, can not benull
-
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 benull
newRule
- the new rule, can not benull
-
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 benull
-
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 benull
-
-