| Summary: | [ui] changing compare mode breaks the icon | ||
|---|---|---|---|
| Product: | [Modeling] EMFCompare | Reporter: | Bouchet Stéphane <sbouchet> |
| Component: | Core | Assignee: | EMF Compare <emf.compare-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | laurent.goubet, tomasz.zarna |
| Version: | 1.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Bouchet Stéphane
I can reproduce this alright ... but I have no idea about what could cause this. Tomasz, could you point me to the bit of code that handles this icon? (I believe that it should be the icon of the file type; the one that is at the left of the "<label> Compare" label in between the structure and content panes of the compare editor.) I think it's org.eclipse.compare.internal.CompareContentViewerSwitchingPane.setImage(Image) called from org.eclipse.compare.CompareViewerSwitchingPane.setInput(Object). Both are in org.eclipse.compare. Thanks Tomasz, that was it. CompareContentViewerSwitchingPane.setImage(Image) asks the Compare Input for its image ... and I didn't properly implement CompareInput#getImage(). This has now fixed. |