[
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:
<group>
<layout x:class="fillLayout">
<x:children>
<text x:style="BORDER">
</x:children>
</group>
-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"?
yves
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
eclipse-incubator-e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipse-incubator-e4-dev