peterblazejewicz wrote:What are exact java bean desing requirements that should be followed by custom widget/composite built for use with GWT Designer upon existing GWT widgets or 3rd party widgets?
The basic rules are the same as those defined by the JavaBean spec and are discussed in
this FAQ entry.
For GWT, any public Widget subclass that has a public, zero-argument constructor can be used (as is standard for all base GWT widgets). Custom properties are derived through reflection by looking for getter/setter pairs of known types. Custom Composite subclasses will show their subcomponents when placed in Designer.
peterblazejewicz wrote:Especially I want to know if there are special non-javadoc/javadoc comments/annotations that could be applied to 3rd party components or my own ones to enable them succesfully being rendered in "Design" mode
At the moment, no.
peterblazejewicz wrote:Also I'm wondering if dev-team could provide more specific GWT Designer annotation to instruct which constructor is to be used in Design mode (e.g. @gwtDesigner.constructor or anything similiar)
What would that annotation do in design mode?
peterblazejewicz wrote:I'm aware that there was a topic on GWT toolkit JIRA about better GWT/3rd party ide's integration about that matter
I think this is an area that Google needs to step into an assert some leadership...either by formally adopting the JavaBean spec (which they mostly do for their own widgets), or establishing some other convention (annotations or otherwise). We would certainly support anything that is officially made part of the GWT API.