class DataSetDefWizardScreen {

    void onProviderTypeSelected(final DataSetProviderTypeWorkflow providerTypeWorkflow) {
        final DataSetProviderType selectedProviderType = providerTypeWorkflow.getProviderType();
        try {
            clientServices.newDataSet(selectedProviderType,
                                      this::basicAttributesEdition);
        } catch (final Exception e) {
            showError(e.getCause() != null ? e.getCause().getMessage() : e.getMessage());
        }
    }

    @Inject public  DataSetDefWizardScreen(final SyncBeanManager beanManager,
                                  final DataSetEditorWorkflowFactory workflowFactory,
                                  final Caller<DataSetDefVfsServices> services,
                                  final DataSetClientServices clientServices,
                                  final Event<NotificationEvent> notification,
                                  final PlaceManager placeManager,
                                  final ErrorPopupPresenter errorPopupPresenter,
                                  final SavePopUpPresenter savePopUpPresenter,
                                  final DataSetDefScreenView view);

}