Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: RE: [eclipse-incubator-e4-dev] Fw: Declarative UI roundup?

A node name is first converted to a setter.  If we can't find a method by that name, then we try to resolve the node as a class name.

This works nearly all the time.

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:

  <layout x:class="fillLayout">
    <text x:style="BORDER">

-Dave Orme

On Nov 6, 2008 4:25 PM, "Yves YANG" <yves.yang@xxxxxxxxxxx> wrote:

One question on your code: how do you make the difference between property "layout" and child "label"?



From: eclipse-incubator-e4-dev-bounces@xxxxxxxxxxx [mailto:eclipse-incubator-e4-dev-bounces@xxxxxxxxxxx] On Behalf Of David Orme

Sent: jeudi 6 novembre 2008 18:11

To: E4 developer list Subject: Re: [eclipse-incubator-e4-dev] Fw: Declarative UI roundup?

  Since I won't ask someone to do something I won't myself do, :-) here's a slightly-enhanced Hel...

eclipse-incubator-e4-dev mailing list

Back to the top