Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » [Databinding] Binding to single entry in List<String>
[Databinding] Binding to single entry in List<String> [message #555050] Wed, 25 August 2010 09:59 Go to next message
No real name is currently offline No real nameFriend
Messages: 5
Registered: June 2010
Junior Member
Hello everyone,

if my model looks like this:

class Person {
     List<String> hobbies;
}


Is it possible to create a binding against a single entry from that list? For example if I would want to have a textfield for every hobby in that list.

Regards,
Jan
Re: [Databinding] Binding to single entry in List<String> [message #555535 is a reply to message #555050] Fri, 27 August 2010 05:17 Go to previous messageGo to next message
Matthew Hall is currently offline Matthew HallFriend
Messages: 368
Registered: July 2009
Senior Member
Jan,

There is nothing in data binding currently to support this, but it would
be straightforward to implement. Would you mind filing a bug for this?

https://bugs.eclipse.org/bugs/enter_bug.cgi?classification=E clipse&product=Platform&short_desc=[DataBinding]&component=UI

Matthew

On 08/25/2010 03:59 AM, redzack81@gmx.de wrote:
> Hello everyone,
>
> if my model looks like this:
>
> class Person {
> List<String> hobbies;
> }
>
> Is it possible to create a binding against a single entry from that
> list? For example if I would want to have a textfield for every hobby in
> that list.
>
> Regards,
> Jan
Re: [Databinding] Binding to single entry in List<String> [message #555597 is a reply to message #555535] Fri, 27 August 2010 09:40 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 5
Registered: June 2010
Junior Member
Thanks for your answer!

I created a bug for this:
323799

I'm sorry if I did something wrong with the bug creation. I'm totally new to this.

Regards,
Jan

Matthew Hall wrote on Fri, 27 August 2010 01:17
Jan,

There is nothing in data binding currently to support this, but it would
be straightforward to implement. Would you mind filing a bug for this?

https://bugs.eclipse.org/bugs/enter_bug.cgi?classification=E clipse&product=Platform&short_desc=[DataBinding]&component=UI

Matthew

On 08/25/2010 03:59 AM, redzack81@gmx.de wrote:
> Hello everyone,
>
> if my model looks like this:
>
> class Person {
> List<String> hobbies;
> }
>
> Is it possible to create a binding against a single entry from that
> list? For example if I would want to have a textfield for every hobby in
> that list.
>
> Regards,
> Jan

Re: [Databinding] Binding to single entry in List<String> [message #556602 is a reply to message #555597] Thu, 02 September 2010 04:11 Go to previous message
Matthew Hall is currently offline Matthew HallFriend
Messages: 368
Registered: July 2009
Senior Member
Looks good, I'll try to look at it this week.

Matthew

On 08/27/2010 03:40 AM, redzack81@gmx.de wrote:
> Thanks for your answer!
>
> I created a bug for this:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=323799
>
> I'm sorry if I did something wrong with the bug creation. I'm totally
> new to this.
>
> Regards,
> Jan
>
> Matthew Hall wrote on Fri, 27 August 2010 01:17
>> Jan,
>>
>> There is nothing in data binding currently to support this, but it
>> would be straightforward to implement. Would you mind filing a bug for
>> this?
>>
>> https://bugs.eclipse.org/bugs/enter_bug.cgi?classification=E
>> clipse&product=Platform&short_desc=[DataBinding]& ;component=UI
>>
>> Matthew
>>
>> On 08/25/2010 03:59 AM, redzack81@gmx.de wrote:
>> > Hello everyone,
>> >
>> > if my model looks like this:
>> >
>> > class Person {
>> > List<String> hobbies;
>> > }
>> >
>> > Is it possible to create a binding against a single entry from that
>> > list? For example if I would want to have a textfield for every
>> hobby in
>> > that list.
>> >
>> > Regards,
>> > Jan
>
>
Previous Topic:Databinding + TableViewer + nested lists of objects
Next Topic:How do I disable a FileFieldEditor based upon another BooleanFieldEditor state
Goto Forum:
  


Current Time: Thu Apr 25 06:17:53 GMT 2024

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

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

Back to the top