Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Weinand2004-04-20 05:20:53 -0400
committerAndre Weinand2004-04-20 05:20:53 -0400
commit277071deafa8b7775b900a36186e23e88a521250 (patch)
tree55ec6b24b5c7b51fd232f9509e55fd38363b90e9 /bundles/org.eclipse.compare/compare
parent9e546bc8861b879460337ea24c3a47a06c227494 (diff)
downloadeclipse.platform.team-277071deafa8b7775b900a36186e23e88a521250.tar.gz
eclipse.platform.team-277071deafa8b7775b900a36186e23e88a521250.tar.xz
eclipse.platform.team-277071deafa8b7775b900a36186e23e88a521250.zip
fixed #52261
Diffstat (limited to 'bundles/org.eclipse.compare/compare')
-rw-r--r--bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/DiffNode.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/DiffNode.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/DiffNode.java
index 7c73a6cc2..ecd495e55 100644
--- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/DiffNode.java
+++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/DiffNode.java
@@ -246,6 +246,16 @@ public class DiffNode extends DiffContainer implements ITypedElement, ICompareIn
return ITypedElement.UNKNOWN_TYPE;
}
+ /**
+ * Sets the ancestor input to the given value.
+ *
+ * @param ancestor the new value for the ancestor input
+ * @since 3.0
+ */
+ public void setAncestor(ITypedElement ancestor) {
+ fAncestor= ancestor;
+ }
+
/* (non Javadoc)
* see ICompareInput.getAncestor
*/

Back to the top