use of eu.esdihumboldt.hale.ui.io.config.AbstractConfigurationPage in project hale by halestudio.
the class ExportWizard method createConfigurationPages.
@Override
protected ListMultimap<String, AbstractConfigurationPage<? extends P, ? extends IOWizard<P>>> createConfigurationPages(Collection<IOProviderDescriptor> factories) {
ListMultimap<String, AbstractConfigurationPage<? extends P, ? extends IOWizard<P>>> configPages = super.createConfigurationPages(factories);
ListMultimap<String, AbstractConfigurationPage<? extends P, ? extends IOWizard<P>>> result = ArrayListMultimap.create();
// append target selection page if applicable
for (IOProviderDescriptor descr : factories) {
if (!suppressTargetPage() && descr.getSupportedTypes() != null && !descr.getSupportedTypes().isEmpty()) {
result.put(descr.getIdentifier(), getSelectTargetPage());
}
}
// append all other configuration pages
result.putAll(configPages);
return result;
}
Aggregations