Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 267712 - [DataBinding] add ObservableMapCellLabelProvider
Summary: [DataBinding] add ObservableMapCellLabelProvider
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M6   Edit
Assignee: Boris Bokowski CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 215509 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-09 15:32 EDT by Boris Bokowski CLA
Modified: 2009-03-16 18:16 EDT (History)
2 users (show)

See Also:


Attachments
Example for the ObservableMapCellLabelProvider (11.23 KB, application/octet-stream)
2009-03-09 19:12 EDT, Heiko Ahlig CLA
bokowski: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Bokowski CLA 2009-03-09 15:32:44 EDT
so that we have a label provider class that can be used with the column-based label providers.
Comment 1 Boris Bokowski CLA 2009-03-09 15:34:28 EDT
Released to HEAD.
Comment 2 Boris Bokowski CLA 2009-03-09 15:42:17 EDT
.
Comment 3 Matthew Hall CLA 2009-03-09 16:44:31 EDT
We should remove the second constructor since we only only using the first observable map in the array.
Comment 4 Boris Bokowski CLA 2009-03-09 16:53:42 EDT
The second constructor is for subclasses that want to override update and use more than one attribute in the label. Should probably be better documented.
Comment 5 Boris Bokowski CLA 2009-03-09 17:20:21 EDT
Made the second constructor protected and explained it in the JavaDoc.
Comment 6 Heiko Ahlig CLA 2009-03-09 19:10:20 EDT
	
A few days ago I play with the ObservableValueEditingSupport and the ObservableMapLabelProvider.
Today I see that you develop this new "ColumnLabelProvider".
with some little changes in my old modified snippet it seems that it works.

I add this snippet as attachment and maybe it is good enough so that you can add it as a additional snippet to the databinding examples.

It is based of the Snippet013

Regards 
Heiko
Comment 7 Heiko Ahlig CLA 2009-03-09 19:12:03 EDT
Created attachment 128124 [details]
Example for the ObservableMapCellLabelProvider

maybe it's good enough
Comment 8 Boris Bokowski CLA 2009-03-09 23:33:21 EDT
Comment on attachment 128124 [details]
Example for the ObservableMapCellLabelProvider

Committed to HEAD in modified form, see bug 234496
Comment 9 Matthew Hall CLA 2009-03-16 18:16:20 EDT
*** Bug 215509 has been marked as a duplicate of this bug. ***