A new answer to this question, after some improvements to the GWT, is at https://stackoverflow.com/a/168389/ . Copied below to avoid deleting the moderator (maybe?).
You can use @UiChild to declare special features in your widgets available in UiBinders.
eg,
class MyPanel extends AbsolutePanel { @UiChild public void addAt(Widget w, String parameter1, String parameter2) { ....
Then in your uiBinder you can say
<custom:MyPanel> <custom:at parameter1="HI" parameter2="Anything you like!"> <g:AnySingleWidget /> </custom:at> </custom:MyPanel>
See @UiChild at http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/uibinder/client/UiChild.html
Iley lark
source share