[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-ui-dev] AggregateListBinding
|
Hi Phil,
I don't know if anyone is interested but I'd suggest the following:
File a bug against Platform/UI and prefix the Summary with [Databinding].
Tom
Phil Borlin schrieb:
> In using the binding framework I have come across the need to bind
> multiple lists to one list. The use case I am using this in is that I
> have a tree node whose parent may have a number of different types of
> children:
>
> OrgUnit can contain Employees and other OrgUnits.
>
> In my model I have one java.util.List of Employees in OrgUnit and
> another List for OrgUnits. The constructor on my binding looks like
> this:
>
> AggregateListBinding(BindSpec bindSpec, IObservableList targetList,
> IObservableList... modelLists)
>
> This is a read only binding since
> 1) It is hard to tell which List to add the new object to
> 2) I can just add to a list with a traditional ListBinding
>
> Is this interesting to anyone else? If it is I can send some diffs up
> the proper channels.
>
> -Phil
> _______________________________________________
> platform-ui-dev mailing list
> platform-ui-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-ui-dev