Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349002

Summary: StructureDiffViewer needs to make Differencer settable
Product: [Eclipse Project] Platform Reporter: Per Digre <per>
Component: CompareAssignee: Platform-Compare-Inbox <platform-compare-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P3    
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Per Digre CLA 2011-06-10 05:28:17 EDT
Build Identifier:  20110301-1815

I need to extend the Differencer and the StructureDiffViewer won't let me do that by making it private. I end up copying and modifying the StructureDiffViewer code just for the lack of a simple method setDifferencer().

public void setDifferencer(Differencer fDifferencer) {
   this.fDifferencer = fDifferencer;
}

The ultimate solution to this would be to subclass as outlined in ...
Bug 258907 - [Structure Compare] StructureDiffViewer should allow subclassing.
and including getters and setters for fDifferencer.  
Regardless of allowing subclassing or not of the StructureDiffViewer, the differencer needs to be made accessible.


Reproducible: Always
Comment 1 Lars Vogel CLA 2019-11-14 03:14:59 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.