It seems I might have missed your point. :-) Comments inline: On Fri, Nov 7, 2008 at 5:28 AM, Ed Merks <[EMAIL PROTECTED]> wrote:
> David, > > Comments below. > > David Orme wrote: > <snip/> > > But to create a Text inside a Group becomes a problem since Group has > setText(). > > To handle that rare case, XSWT has an <x:children> meta-node. So you can > write: > > <group> > <layout x:class="fillLayout"> > > This is like xsi:type I assume. Think of how you'd do this in JSON. It's > important to have this information early... > Yes, I think. XSWT does type inferencing to know the type of object to construct. But when you have: #setLayout(Layout) the programmer must explicitly supply which concrete subclass of Layout to construct, which is the purpose of the x:class meta-attribute. Dave
_______________________________________________ eclipse-incubator-e4-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/eclipse-incubator-e4-dev
