This is possible! But you have to write a GWT Generator for to achieve
that. For example:
class Customer {
// field1 .. field10;
}
// This still has to be written, to semantically determine what type of
widget you are planning to use in your editor
interface CustomerView implements XXMarkerInterface {
TextBox field1;
Label field2; ...
...
<SomeWidgetType> field10;
}
// while creating the widget, instead of using the new operator, just use
CustomerView view = GWT.create(CustomerView.class);
// in the GWT.xml, you specify if type is XXMarkerInterface, invoke the
generator you have written.
In the generator implementation, you can read the interface and generate
the implementation required for that!
Hope this helps!
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/UlllswhGfOUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.