Skip to content

Instantly share code, notes, and snippets.

@Elrhino
Created August 28, 2015 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Elrhino/2639fb4e002e9f31a018 to your computer and use it in GitHub Desktop.
Save Elrhino/2639fb4e002e9f31a018 to your computer and use it in GitHub Desktop.
Code snippets from ToasterLauncher - GWTP Beginner's Tutorial Part 1
import javax.inject.Inject;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.Widget;
import com.gwtplatform.mvp.client.ViewImpl;
public class LauncherView extends ViewImpl implements LauncherPresenter.MyView {
interface Binder extends UiBinder<Widget, LauncherView> {
}
@Inject
LauncherView(Binder uiBinder) {
initWidget(uiBinder.createAndBindUi(this));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment