class DataSourceDefPage implements WizardPage,
                   DataSourceDefPageView.Presenter {

    @Override
    public void isComplete(Callback<Boolean> callback) {
        boolean complete = editorHelper.isNameValid() &&
                editorHelper.isConnectionURLValid() &&
                editorHelper.isUserValid() &&
                editorHelper.isPasswordValid() &&
                editorHelper.isDriverValid();

        callback.callback(complete);
    }

    @Inject public  DataSourceDefPage(final DataSourceDefPageView view,
                             final DataSourceDefMainPanel mainPanel,
                             final DataSourceDefEditorHelper editorHelper,
                             final Event<WizardPageStatusChangeEvent> statusChangeEvent);

}