|
MyGwt
The MyGWT support in UFace lets you deploy your UFace application using GWT with the MyGWT widget library. UICompositeTo be able to create widgets with UFace you need to get a UIComposite to represent the Panel you are gonna add widgets to. You can see this in action in the org.ufacekit.ui.mygwt.example. You can create a UIComposite as follows in your EntryPoint public class MyApp implements EntryPoint {
public void onModuleLoad() {
RootPanel rootPanel = RootPanel.get();
UIComposite root = new GwtExtComposite(rootPanel);
// now I can create some UI components
UIFactory factory = root.getFactory();
factory.createTable(root, ...);
}
}
|
► Sign in to add a comment