Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [DataBinding] bind Integer Collection to (Swt-) combo
[DataBinding] bind Integer Collection to (Swt-) combo [message #302893] Tue, 02 May 2006 08:50 Go to next message
Eclipse UserFriend
Originally posted by: andre.dietisheim.gmail.com

Hi!

I'd like to bind a collection of Integer values to a combo and it ends in a class-casst exception. This absolutely logical to me as combos handle strings only. I dug into the code and found the following TODO in ListBinding:

// TODO validation/conversion as specified by the bindSpec

I would very appreciate any hint from the developers what's the correct way to implement that stuff...
Re: [DataBinding] bind Integer Collection to (Swt-) combo [message #302897 is a reply to message #302893] Tue, 02 May 2006 09:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: andre.dietisheim.gmail.com

looks like I found the solution. I just wonder if that's the correct way. I added the following to ListBinding:
(sorry I have no CVS access from my work, can't create a patch...)
Re: [DataBinding] bind Integer Collection to (Swt-) combo [message #302898 is a reply to message #302897] Tue, 02 May 2006 09:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: andre.dietisheim.gmail.com

modification's right in the attachement...
Re: [DataBinding] bind Integer Collection to (Swt-) combo [message #303386 is a reply to message #302898] Sun, 14 May 2006 14:59 Go to previous messageGo to next message
Eclipse UserFriend
André Dietisheim wrote:
> modification's right in the attachement...

Sorry, I can't find your attachment. Please create a bug against
Platform/UI with [DataBinding] in the summary and attach it there.

In the future, we'll find your posts faster if you post to the
platform.rcp newsgroup. We read here but we monitor there more
aggressively.

Thanks for your interest in JFace data binding!


Best regards,

Dave Orme
Re: [DataBinding] bind Integer Collection to (Swt-) combo [message #303393 is a reply to message #303386] Mon, 15 May 2006 02:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: andre.dietisheim.gmail.com

Hi Dave!

Thanks for your feedback.
I tried to attach twice. I guess it was removed because I attached a *.java file.
Anyway, I posted the bug and attached my tiny patch... :-))
Re: [DataBinding] bind Integer Collection to (Swt-) combo [message #303859 is a reply to message #303393] Wed, 24 May 2006 19:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: orestis82.fastmail.fm

Can you point us to the bug ? Thanks!
Re: [DataBinding] bind Integer Collection to (Swt-) combo [message #303866 is a reply to message #303859] Thu, 25 May 2006 05:33 Go to previous message
Eclipse UserFriend
Originally posted by: andre.dietisheim.gmail.com

The current implementation is only capable of binding string values to a swt-combo (list, etc.). I already filed a bug and attached a patch that enables value conversion when binding to swt widgets..

https://bugs.eclipse.org/bugs/show_bug.cgi?id=139801
Previous Topic:Any plans to move the SSE & SSE-XML to platform?
Next Topic:ApplicationWindow dispose questions
Goto Forum:
  


Current Time: Tue May 06 23:03:15 EDT 2025

Powered by FUDForum. Page generated in 0.09134 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top