class DataSourceDefEditor extends BaseEditor<DataSourceDefEditorContent, Metadata> implements DataSourceDefEditorView.Presenter {

    @Override
    public void onShowContent() {
        DatabaseStructureExplorer.Settings settings = new DatabaseStructureExplorer.Settings()
                .dataSourceUuid(getContent().getDef().getUuid())
                .dataSourceName(getContent().getDef().getName());

        dbStructureExplorer.initialize(settings,
                                       new InitializeCallback() {
                                           @Override
                                           public void onInitializeError(Throwable throwable) {
                                               // do nothing, just stay showing the parameters edition.
                                           }

                                           @Override
                                           public void onInitializeSuccess() {
                                               showContent();
                                           }
                                       });
    }

    @Inject public  DataSourceDefEditor(final DataSourceDefEditorView view,
                               final DataSourceDefMainPanel mainPanel,
                               final DataSourceDefEditorHelper editorHelper,
                               final DatabaseStructureExplorer dbStructureExplorer,
                               final PopupsUtil popupsUtil,
                               final PlaceManager placeManager,
                               final DataSourceDefType type,
                               final SavePopUpPresenter savePopUpPresenter,
                               final DeletePopUpPresenter deletePopUpPresenter,
                               final Caller<DataSourceDefEditorService> editorService,
                               final Caller<DataSourceRuntimeManagerClientService> dataSourceManagerClient);

}