art wrote:Is there anyway to suppress the "Composite ... has no default constructor, so it can not be used with GWT Designer." warning?
Any Composite in a GWT Designer project that is missing the default constructor will be flagged with a warning since there is a presumption that you actually intend to use it in your UI design at some point.
To suppress the warning:
art wrote:It's very annoying that all classes (without the no arg constructor) that have been created outsite GWT Designer are marked with warnings.
GWT Designer does not care about Composites in non-GWT Designer projects.
That warning is an important hint that in order to be used as a valid custom widget, the Composite needs to define a default constructor.
Rules for using custom widgets are in the
GWT Designer FAQ.