Commit bfc1ec51 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

categories of configuration options modified

parent 797c393c
Pipeline #4316 passed with stage
in 1 minute and 3 seconds
......@@ -48,7 +48,8 @@ public enum ConfigurationElementType {
/**
* Default map that should be presented if no map is selected by user side.
*/
DEFAULT_MAP("Default Project Id", "empty", ConfigurationElementEditType.STRING, false, null), //
DEFAULT_MAP("Default Project Id", "empty", ConfigurationElementEditType.STRING, false,
ConfigurationElementTypeGroup.SERVER_CONFIGURATION), //
/**
* Logo presented in the system.
......@@ -88,7 +89,7 @@ public enum ConfigurationElementType {
* </a>.
*/
GOOGLE_ANALYTICS_IDENTIFIER("Google Analytics tracking ID used for statistics", "",
ConfigurationElementEditType.STRING, false, null),
ConfigurationElementEditType.STRING, false, ConfigurationElementTypeGroup.SERVER_CONFIGURATION),
/**
* Description of the logo presented in the system.
......@@ -99,12 +100,14 @@ public enum ConfigurationElementType {
/**
* Domain allowed to connect via x-frame technology.
*/
X_FRAME_DOMAIN("Domain allowed to connect via x-frame technology", "", ConfigurationElementEditType.URL, false, null),
X_FRAME_DOMAIN("Domain allowed to connect via x-frame technology", "", ConfigurationElementEditType.URL, false,
ConfigurationElementTypeGroup.SERVER_CONFIGURATION),
/**
* Relative directory (in webapps folder) where big files will be stored.
*/
BIG_FILE_STORAGE_DIR("Path to store big files", "minerva-big/", ConfigurationElementEditType.STRING, false, null),
BIG_FILE_STORAGE_DIR("Path to store big files", "minerva-big/", ConfigurationElementEditType.STRING, false,
ConfigurationElementTypeGroup.SERVER_CONFIGURATION),
/**
* File where legend 1/4 is stored.
......@@ -133,7 +136,8 @@ public enum ConfigurationElementType {
/**
* File where legend 4/4 is stored.
*/
USER_MANUAL_FILE("User manual file", "resources/other/user_guide.pdf", ConfigurationElementEditType.URL, false, null),
USER_MANUAL_FILE("User manual file", "resources/other/user_guide.pdf", ConfigurationElementEditType.URL, false,
ConfigurationElementTypeGroup.LEGEND_AND_LOGO),
/**
* Color used for negative overlay values.
......
......@@ -6,6 +6,7 @@ public enum ConfigurationElementTypeGroup {
LEGEND_AND_LOGO("Legend and logo"), //
OVERLAYS("Overlays"), //
POINT_AND_CLICK("Point and click"), //
SERVER_CONFIGURATION("Server configuration"),//
;
private String commonName;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment