Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » XWT External property -style
XWT External property -style [message #574231] Thu, 15 April 2010 09:28 Go to next message
Alper Turkyilmaz is currently offline Alper Turkyilmaz
Messages: 4
Registered: April 2010
Junior Member
Hi ,
I want to set the adapterInfo property of a custom widget like this:


<tc:UITable bounds="29,335,747,235">
<UITable.adapterInfo>Blahblah</UITable.adapterInfo>
</tc:UITable>

But it does not work ?

<tc:UITable bounds="29,335,747,235">
<UITable.adapterInfo>
<j:String>Blahblah</j:String>
</UITable.adapterInfo>
</tc:UITable>



what is Wrong with it? Any idea?
Re: XWT External property -style [message #574251 is a reply to message #574231] Thu, 15 April 2010 18:46 Go to previous message
Yves YANG is currently offline Yves YANG
Messages: 687
Registered: July 2009
Senior Member
I think you should use the j namespace for UITable.adapterInfo:
<j:UITable.adapterInfo>

if adapterInfo is a String, the code could be:

<tc:UITable bounds="29,335,747,235" adapterInfo="Blahblah" />

Regards
yves
<alper_turkyilmaz@yahoo.com> wrote in message
news:hq749b$qol$1@build.eclipse.org...
> Hi ,
> I want to set the adapterInfo property of a custom widget like this:
>
>
> <tc:UITable bounds="29,335,747,235">
> <UITable.adapterInfo>Blahblah</UITable.adapterInfo>
> </tc:UITable>
>
> But it does not work ?
> <tc:UITable bounds="29,335,747,235">
> <UITable.adapterInfo>
> <j:String>Blahblah</j:String>
> </UITable.adapterInfo>
> </tc:UITable>
>
>
>
> what is Wrong with it? Any idea?
>
>
Previous Topic:Default alignment of labels
Next Topic:How to add custom widgets to XWT designer palette
Goto Forum:
  


Current Time: Fri Aug 01 11:55:47 EDT 2014

Powered by FUDForum. Page generated in 0.01908 seconds