diff --git a/model/src/main/java/lcsb/mapviewer/model/user/ConfigurationElementType.java b/model/src/main/java/lcsb/mapviewer/model/user/ConfigurationElementType.java index bd0d5a4c405d9c055a9f358e17d10231096dd83d..53b7fc71540fe706ece797043919bf8f2c138aa3 100644 --- a/model/src/main/java/lcsb/mapviewer/model/user/ConfigurationElementType.java +++ b/model/src/main/java/lcsb/mapviewer/model/user/ConfigurationElementType.java @@ -134,12 +134,17 @@ public enum ConfigurationElementType { * Color used for undefined overlay values. */ SIMPLE_COLOR_VAL("Overlay color when no values are defined", "00FF00", ConfigurationElementEditType.COLOR, false), - + /** - * * Color used for 0 overlay value. */ - NEUTRAL_COLOR_VAL("Overlay color for value=0", "FFFFFF", ConfigurationElementEditType.COLOR, false); + NEUTRAL_COLOR_VAL("Overlay color for value=0", "FFFFFF", ConfigurationElementEditType.COLOR, false), + + /** + * Opacity of data overlay objects in the frontend. + */ + OVERLAY_OPACITY("Opacity used when drwaing data overlays (value between 0.0-1.0)", "0.8", + ConfigurationElementEditType.DOUBLE, false),; /** * Default value of the configuration parameter (it will be used only when value @@ -165,7 +170,7 @@ public enum ConfigurationElementType { * @param commonName * common name used for this parameter * @param editType - * type defining how we want to edit this configuration param + * type defining how we want to edit this configuration parameter * @param defaultVal * default value assigned to this parameter */ diff --git a/rest-api/src/main/java/lcsb/mapviewer/api/configuration/ConfigurationRestImpl.java b/rest-api/src/main/java/lcsb/mapviewer/api/configuration/ConfigurationRestImpl.java index 30d3f171394460448fddba61fe189ddb92177ec2..581b00bb7317a2f4a20b3a832bceb16aefca42d5 100644 --- a/rest-api/src/main/java/lcsb/mapviewer/api/configuration/ConfigurationRestImpl.java +++ b/rest-api/src/main/java/lcsb/mapviewer/api/configuration/ConfigurationRestImpl.java @@ -275,7 +275,6 @@ public class ConfigurationRestImpl extends BaseRestImpl { public List<Map<String, Object>> getPlugins(String token, String rootPath) { String path = rootPath + "/resources/js/plugins/"; File folder = new File(path); - logger.debug(folder.getAbsolutePath()); List<Map<String, Object>> result = new ArrayList<>(); if (folder.exists()) { File[] listOfFiles = folder.listFiles();