Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wb-xwt-dev] Custom composite problem - replicate/double copy of component

This is an old issue we have discussed. The XWT is designed to find and load
automatically the associated UI. WindowsBuilder adds more codes to load the
UI in Java codes. Therefore, the UI gets doubled. I think we should remove
the Java codes. 

If you have further issues about XWT, you can fill a bug in e4:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=e4
 
Best regards
Yves YANG
-----Original Message-----
From: wb-xwt-dev-bounces@xxxxxxxxxxx [mailto:wb-xwt-dev-bounces@xxxxxxxxxxx]
On Behalf Of C Robinson
Sent: Wednesday, April 25, 2012 9:55 AM
To: wb-xwt-dev@xxxxxxxxxxx
Subject: [wb-xwt-dev] Custom composite problem - replicate/double copy of
component

Hello,
I have created a simple custom composite component in WindowBuilder (a label
and progress bar). After adding it to the palette, I then introduce it to
the UI viewer. However, the component is displayed twice.   I tried the
WindowBuilder Eclipse forum and I received the following response and advice
to contact the XWT authors (I hope I've found the right place!).   

Reply from Konstantin Scheglov:
I don't remember already exactly why, but this seems to be related to XWT
rendering process.
First it creates Composite class (during this it renders XWT template on
it), and then it renders XWT template on the form where your place this
component. So, you have XWT template rendered twice. 

Regards,
Charles
_______________________________________________
wb-xwt-dev mailing list
wb-xwt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/wb-xwt-dev



Back to the top