Can we put one component inside another SWT/XWT composite [message #934949] |
Sat, 06 October 2012 13:51 |
Eclipse User |
|
|
|
My need is to create a composite XWT component and add that to palette. That composite component can be used by any other application trying to draw a UI.
I created composite button, text box etc and everything works fine.
I created a composite table and put that inside palette. An UI dragged and dropped my composite table into UI and till that point it worked. But when user tries to add a column inside my table, it is not allowing to add (nothing happens) since my table is a composite component.
SO, my requirement is to either make a composite component and even then allow user to add components such as table column etc to add in that.... OR
If it is not possible, I want user to allow to drag and drop existing table from eclipse widget set. I want to add my own attributes/properties (such as myCustomProp1, myCustomprop2 etc) so that user can drag and drop original palette table but he can edit these custom properties (set by me).
Want to know if any one of above is possible and how to do that.
|
|
|
Powered by
FUDForum. Page generated in 0.04443 seconds