GWT automatically generates Java class from UiBinder

completely new to GWT, I was wondering if there is any solution to auto-generate a skeleton for a java class corresponding to UiBinder. Basically, I have to create a ui.xml file. from it there is no way to have a java class structure? should i create it manually?

+3


source to share


1 answer


I am using Intellij IDEA and this IDE provides a menu entry GWT UiBinder and ui.xml file

for generating java and ui.xml file.

Autogenerate Java and ui file



If you are using eclipse you can read this article about the interface linking wizard.

Another alternative is to create your own file template (each IDE must provide this functionality) to customize the generated files according to your needs.

+3


source







All Articles