Hello all,
I have the classes below (one main class containing an inner class) :
public class MyObjectEditView extends Composite{
interface MyObjectEditUiBinder extends UiBinder<Widget,
MyObjectEditView> {}
private static MyObjectEditUiBinder uiBinder =
GWT.create(MyObjectEditUiBinder.class);
....
public static class MyObjectPropertiesEditView extends Composite{
@UiTemplate(value="MyObjectProperties.ui.xml")
interface MyObjectPropertiesUiBinder extends UiBinder<Widget,
MyObjectPropertiesEditView> {}
private static MyObjectPropertiesUiBinder uiBinder =
GWT.create(MyObjectPropertiesUiBinder.class);
....
}
}
The MyObjectProperties.ui.xml file is defined in the same package of
the main class.
Eclipse detects an error on the second UiBinder interface
(MyObjectPropertiesUiBinder) and show me the following message :
"Template file MyObjectProperties.ui.xml is missing (expected at /the/
package/of/the/main/class/MyObjectEditView/)"
But If I try to compile my application that works fine and I don't
have compilation errors...
Thus for me, Eclipse does not show the error message ! ?
The workaround to avoid an error in Eclipse is to define the second
UiBinder interface in the main class (and continue to use it in the
inner class)
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
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.