Created
August 28, 2015 15:07
-
-
Save Elrhino/d7d26bbb32194152c663 to your computer and use it in GitHub Desktop.
Code snippets from ToasterLauncher - GWTP Beginner's Tutorial Part 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class LauncherView extends ViewImpl implements LauncherPresenter.MyView { | |
interface Binder extends UiBinder<Widget, LauncherView> { | |
} | |
@UiField | |
TextBox launchCoordinates; | |
@UiField | |
TextBox launchPower; | |
@UiField | |
Button launchButton; | |
@Inject | |
LauncherView(Binder uiBinder) { | |
initWidget(uiBinder.createAndBindUi(this)); | |
} | |
public void onLaunch() { | |
// TODO: Send launch parameters to the LauncherPresenter. | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment