Skip to content
Snippets Groups Projects
Commit 4fa0ce12 authored by izabel's avatar izabel
Browse files

[LMS-1350] Add main data set pattern and path tooltips

SVN: 14418
parent aae385eb
No related branches found
No related tags found
No related merge requests found
...@@ -897,5 +897,9 @@ public abstract class Dict ...@@ -897,5 +897,9 @@ public abstract class Dict
public static final String EXPLORE_LABEL = "explore_label"; public static final String EXPLORE_LABEL = "explore_label";
public static final String TOOLTIP_MAIN_DATA_SET_PATTERN = "tooltip_main_data_set_pattern";
public static final String TOOLTIP_MAIN_DATA_SET_PATH = "tooltip_main_data_set_path";
// ----- end generic ------------------ // ----- end generic ------------------
} }
...@@ -185,6 +185,8 @@ public class DataSetTypeGrid extends AbstractEntityTypeGrid<DataSetType> ...@@ -185,6 +185,8 @@ public class DataSetTypeGrid extends AbstractEntityTypeGrid<DataSetType>
{ {
TextField<String> mainDataSetPatternField = new TextField<String>(); TextField<String> mainDataSetPatternField = new TextField<String>();
mainDataSetPatternField.setFieldLabel(viewContext.getMessage(Dict.MAIN_DATA_SET_PATTERN)); mainDataSetPatternField.setFieldLabel(viewContext.getMessage(Dict.MAIN_DATA_SET_PATTERN));
mainDataSetPatternField.setToolTip(viewContext
.getMessage(Dict.TOOLTIP_MAIN_DATA_SET_PATTERN));
return mainDataSetPatternField; return mainDataSetPatternField;
} }
...@@ -192,6 +194,7 @@ public class DataSetTypeGrid extends AbstractEntityTypeGrid<DataSetType> ...@@ -192,6 +194,7 @@ public class DataSetTypeGrid extends AbstractEntityTypeGrid<DataSetType>
{ {
TextField<String> mainDataSetPathField = new TextField<String>(); TextField<String> mainDataSetPathField = new TextField<String>();
mainDataSetPathField.setFieldLabel(viewContext.getMessage(Dict.MAIN_DATA_SET_PATH)); mainDataSetPathField.setFieldLabel(viewContext.getMessage(Dict.MAIN_DATA_SET_PATH));
mainDataSetPathField.setToolTip(viewContext.getMessage(Dict.TOOLTIP_MAIN_DATA_SET_PATH));
return mainDataSetPathField; return mainDataSetPathField;
} }
} }
...@@ -39,7 +39,9 @@ var common = { ...@@ -39,7 +39,9 @@ var common = {
add_attachment: "Add attachment", add_attachment: "Add attachment",
data_view: "Data View", data_view: "Data View",
main_data_set_path: "Main Data Set Path", main_data_set_path: "Main Data Set Path",
tooltip_main_data_set_path: "The path (relative to the top directory of a data set) that will be used as a starting point of 'main data set' lookup.\nExample: 'original/images/'",
main_data_set_pattern: "Main Data Set Pattern", main_data_set_pattern: "Main Data Set Pattern",
tooltip_main_data_set_pattern: "If there is just one data set with path matching chosen 'main data set' pattern, it will be automatically displayed.\nExample: '*.jpg'",
auto_resolve_label: "Smart View", auto_resolve_label: "Smart View",
data_report_label: "Report:", data_report_label: "Report:",
explore_label: "Explore:", explore_label: "Explore:",
......
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