Friday, May 3, 2013

Re: WindowBuilder (GWTDesigner) error

init() simply sets up the controls in the view.  If settings is null, it doesn't do much accept leave the controls at their defaults.  If settings is not null, then it sets the controls to values specified in settings.  Basically its setting the index on a bunch of listboxes.

MyControlPanel looks like this:

public class MyControlPanel extends BaseControlPanel
{
private static MyControlPanel uiBinder = GWT.create( MyControlPanel .class );

@UiField ListBox qualityList;
@UiField ListBox reasonsList;
@UiField TextArea techCommentsTextArea;
@UiField TextArea medCommentsTextArea;
@UiField ListBox diagregList;
@UiField ListBox compregList;
@UiField Button reanalyzeButton;
@UiField Button holdButton;
interface MyControlPanel extends UiBinder<Widget, MyControlPanel >
{
}

        ...
}

And BaseControlPanel looks like this:

public class ReviewControlBaseBmdPanel extends Composite
{
        // A few methods share by all derived classes
}

The WindowsBuilder error happens on all of the derived classes.



--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment