Skip to content

Swing Ckan Search Dialog

AndreasWBartels edited this page Dec 6, 2021 · 7 revisions

About Ckan see homepage, documentation and github

maven

<dependency>
  <groupId>net.anwiba.spatial</groupId>
  <artifactId>anwiba-spatial-swing-data-ckan</artifactId>
  <version>1.1.158</version>
</dependency>

Swing Ckan Search Component

show view

usage


final IDialogLauncher launcher = new CkanSearchDialogLauncherFactory(
    CkanConnectionManagerPopupActionFactory.this.dialogsContainer,
    CkanConnectionManagerPopupActionFactory.this.requestExecutorBuilderFactory,
    dataSetResultsConsumer,
    dataSetConsumer,
    resourceOpenConsumer,
    disposeBlock,
    zoomToConsumer,
    datasetIdentifierDistributor,
    packageQueryConditionModel,
    envelopeDistributer,
    new FormatsNameConverter()).create(
        parentComponent,
        CkanConnectionManagerPopupActionFactory.this.preferences,
        connection);
if (launcher == null) {
  new MessageDialogLauncher().info().title(Messages.ckan_search).text(Messages.empty_result).launch(
      parentComponent);
  return;
}
launcher.launch(parentComponent);

Clone this wiki locally