Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Is inheritance supported by XWT?
Is inheritance supported by XWT? [message #530079] Wed, 28 April 2010 12:12 Go to next message
wilsontan81 is currently offline wilsontan81Friend
Messages: 18
Registered: March 2010
Junior Member
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?

[Updated on: Thu, 29 April 2010 09:07]

Report message to a moderator

Re: Is inheritance supported by XWT? [message #530151 is a reply to message #530079] Wed, 28 April 2010 16:37 Go to previous messageGo to next message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
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?
Re: Is inheritance supported by XWT? [message #530296 is a reply to message #530151] Thu, 29 April 2010 09:07 Go to previous messageGo to next message
wilsontan81 is currently offline wilsontan81Friend
Messages: 18
Registered: March 2010
Junior Member
thank you
Re: Is inheritance supported by XWT? [message #575333 is a reply to message #530151] Thu, 29 April 2010 09:07 Go to previous message
wilsontan81 is currently offline wilsontan81Friend
Messages: 18
Registered: March 2010
Junior Member
thank you
Previous Topic:Is inheritance supported by XWT?
Next Topic:virtual folders
Goto Forum:
  


Current Time: Mon Feb 17 01:21:07 GMT 2020

Powered by FUDForum. Page generated in 0.02987 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top