Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » XWT/WindowBuilder - Custom composite problem - replicate/double copy of component
XWT/WindowBuilder - Custom composite problem - replicate/double copy of component [message #857318] Thu, 26 April 2012 12:58
Charles anon is currently offline Charles anonFriend
Messages: 13
Registered: December 2011
Junior Member
Hello,
Ok, I think I'm slowly on my way to asking my question in the correct place.

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. Has this already been filed as a bug? Is there a workaround for the problem in the meantime?

Cheers.



Reply One:
(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.

Second Reply:
(Yves YANG)
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:
bugs.eclipse.org/bugs/enter_bug.cgi?product=e4


[Updated on: Thu, 26 April 2012 12:58]

Report message to a moderator

Previous Topic:rendererFactoryUri does not point to my custom renderer
Next Topic:Fill Menu with RCP and e4
Goto Forum:
  


Current Time: Tue Apr 16 12:03:09 GMT 2024

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

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

Back to the top