Is inheritance supported by XWT? [message #575283] |
Wed, 28 April 2010 08:12  |
Eclipse User |
|
|
|
Hi all,
For example, if I have two xwt file:
1.xwt
======
<Label name="label1" size="10">Label1</Label>
2.xwt
======
<Label name="label2" inherited="label1">Label2</Label>
<Text>Text2</Text>
In ideal case, I hope the combination of 1.xwt and 2.xwt will result:
<Label name="label2" size="20">Label2</Label>
<Text>Text2</Text>
Is it possible to implement it in XWT?
|
|
|
Re: Is inheritance supported by XWT? [message #575315 is a reply to message #575283] |
Wed, 28 April 2010 12:37  |
Eclipse User |
|
|
|
It seems it is not really an inheritance mechanism. Following the
inheritance concept, it should be:
<Label name="label2" size="10">Label2</Label>
<Text>Text2</Text>
For me, it looks like a merge or concatenation.
> Is it possible to implement it in XWT?
I'm sorry. By now, XWT doesn't provide such solution.
Best regards
Yves YANG
"s00263668" <wilsontan81@gmail.com> wrote in message
news:hr98n4$9o8$1@build.eclipse.org...
> Hi all,
>
> For example, if I have two xwt file:
>
> 1.xwt
> ======
> <Label name="label1" size="10">Label1</Label>
>
> 2.xwt
> ======
> <Label name="label2" inherited="label1">Label2</Label>
> <Text>Text2</Text>
>
>
> In ideal case, I hope the combination of 1.xwt and 2.xwt will result:
> <Label name="label2" size="20">Label2</Label>
> <Text>Text2</Text>
>
> Is it possible to implement it in XWT?
|
|
|
Powered by
FUDForum. Page generated in 0.05216 seconds