Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349002 - StructureDiffViewer needs to make Differencer settable
Summary: StructureDiffViewer needs to make Differencer settable
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-Compare-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-10 05:28 EDT by Per Digre CLA
Modified: 2019-11-14 03:14 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.