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

Bug 478904

Summary: Create a label provider matching the FXPaintCellEditor.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF FXAssignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nyssen
Version: 0.2.0   
Target Milestone: 4.0.0 (Neon) M6   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2015-10-02 09:05:47 EDT
To complete the property integration for paints, a label provider matching the FXPaintCellEditor has to be created. The label provider should provide a preview of the currently selected paint.
Comment 1 Alexander Nyßen CLA 2016-02-03 16:06:09 EST
I pushed the following changes to origin/master:

- Created an FXPaintLabelProvider that provides a display text and color image. Ensured it is used within FXPaintPropertyDescriptor.
- Extracted FXPaintUtils, so that creating image date for an JavaFX paint and inferring a display string is centralized.

Resolving as fixed in 4.0.0 M6.