class DefExplorerContent implements IsElement,
                   DefExplorerContentView.Presenter {

    protected void onDataSourceItemClick(DataSourceDefInfo dataSourceDefInfo) {
        PlaceRequest placeRequest;
        if (dataSourceDefInfo.isManaged()) {
            placeRequest = view.createEditorPlaceRequest(dataSourceDefInfo.getPath());
        } else {
            placeRequest = view.createScreenPlaceRequest(DatabaseStructureExplorerScreen.SCREEN_ID);
            placeRequest.addParameter(DatabaseStructureExplorerScreen.DATASOURCE_UUID_PARAM,
                                      dataSourceDefInfo.getUuid());
            placeRequest.addParameter(DatabaseStructureExplorerScreen.DATASOURCE_NAME_PARAM,
                                      dataSourceDefInfo.getName());
        }
        placeManager.goTo(placeRequest);
    }

    @Inject public  DefExplorerContent(DefExplorerContentView view,
                              ManagedInstance<DefItem> itemInstance,
                              PlaceManager placeManager);

}