Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368618 - FontProvider and ColorProvider implement too many interfaces
Summary: FontProvider and ColorProvider implement too many interfaces
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Edit (show other bugs)
Version: 2.8.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-15 06:54 EST by Eike Stepper CLA
Modified: 2012-03-31 14:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2012-01-15 06:54:27 EST
AdapterFactoryLabelProvider.FontProvider should not implement IColorProvider nor ITableColorProvider.

AdapterFactoryLabelProvider.ColorProvider should not implement IFontProvider nor ITableFontProvider.

That confuses the instanceof checks of JFace viewers on label providers.
Comment 1 Ed Merks CLA 2012-01-17 12:19:22 EST
The fix is committed to git master for 2.8.
Comment 2 Ed Merks CLA 2012-03-31 14:23:55 EDT
The changes are available in the M6 build.