Skip to content
Snippets Groups Projects
Commit 828e8ec3 authored by felmer's avatar felmer
Browse files

LMS-2818 add plugin type IMAGE_OVERVIEW_PLUGINS

SVN: 24621
parent 9afab4c7
No related branches found
No related tags found
No related merge requests found
......@@ -28,14 +28,13 @@ import ch.systemsx.cisd.common.utilities.ClassUtils;
import ch.systemsx.cisd.common.utilities.PropertyParametersUtil;
import ch.systemsx.cisd.common.utilities.PropertyParametersUtil.SectionProperties;
import ch.systemsx.cisd.common.utilities.PropertyUtils;
import ch.systemsx.cisd.openbis.dss.generic.shared.Constants;
/**
* @author Piotr Buczek
*/
public class DatasetImageOverviewConfiguration
{
private static String PLUGINS_SERVICES_LIST_KEY = "overview-plugins";
private static final String PLUGIN_SERVICE_CLASS_KEY = "class";
private static final String PLUGIN_SERVICE_DEFAULT_KEY = "default";
......@@ -48,7 +47,7 @@ public class DatasetImageOverviewConfiguration
SectionProperties[] pluginServicesProperties =
PropertyParametersUtil.extractSectionProperties(properties,
PLUGINS_SERVICES_LIST_KEY, false);
Constants.OVERVIEW_PLUGINS_SERVICES_LIST_KEY, false);
for (SectionProperties sectionProperties : pluginServicesProperties)
{
Properties props = sectionProperties.getProperties();
......
......@@ -42,4 +42,6 @@ public class Constants
/** Key of service property which is a list of servlet services. */
public static final String PLUGIN_SERVICES_LIST_KEY = "plugin-services";
public static String OVERVIEW_PLUGINS_SERVICES_LIST_KEY = "overview-plugins";
}
......@@ -70,6 +70,7 @@ class CorePluginsInjector
DROP_BOXES("drop-boxes", Constants.INPUT_THREAD_NAMES),
DATA_SOURCES("data-sources", Constants.DATA_SOURCES_KEY),
SERVICES("services", Constants.PLUGIN_SERVICES_LIST_KEY),
IMAGE_OVERVIEW_PLUGINS("image-overview-plugins", Constants.OVERVIEW_PLUGINS_SERVICES_LIST_KEY),
REPORTING_PLUGINS("reporting-plugins", Constants.REPORTING_PLUGIN_NAMES),
PROCESSING_PLUGINS("processing-plugins", Constants.PROCESSING_PLUGIN_NAMES),
MAINTENANCE_TASKS("maintenance-tasks", MaintenanceTaskUtils.DEFAULT_MAINTENANCE_PLUGINS_PROPERTY_NAME),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment