class BuildDialog {

    public void startBuild() {
        if (building) {
            throw new IllegalStateException("Build already running");
        }
        building = true;
    }

    @Inject public  BuildDialog(BuildDialogView view);

}