diff options
author | Andre Weinand | 2004-04-20 09:20:53 +0000 |
---|---|---|
committer | Andre Weinand | 2004-04-20 09:20:53 +0000 |
commit | 277071deafa8b7775b900a36186e23e88a521250 (patch) | |
tree | 55ec6b24b5c7b51fd232f9509e55fd38363b90e9 | |
parent | 9e546bc8861b879460337ea24c3a47a06c227494 (diff) | |
download | eclipse.platform.team-277071deafa8b7775b900a36186e23e88a521250.tar.gz eclipse.platform.team-277071deafa8b7775b900a36186e23e88a521250.tar.xz eclipse.platform.team-277071deafa8b7775b900a36186e23e88a521250.zip |
fixed #52261
2 files changed, 20 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 */ diff --git a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/DiffNode.java b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/DiffNode.java index 7c73a6cc2..ecd495e55 100644 --- a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/DiffNode.java +++ b/bundles/org.eclipse.compare/plugins/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 */ |