File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
app/logbook/olog/ui/src/main
java/org/phoebus/logbook/olog/ui Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 55import org .phoebus .framework .spi .AppResourceDescriptor ;
66import org .phoebus .logbook .*;
77import org .phoebus .ui .javafx .ImageCache ;
8+ import org .phoebus .util .text .Strings ;
89
910import java .net .URI ;
1011import java .util .logging .Logger ;
@@ -24,6 +25,10 @@ public class LogEntryTableApp implements AppResourceDescriptor {
2425 @ Override
2526 public void start () {
2627 logFactory = LogService .getInstance ().getLogFactories ().get (LogbookPreferences .logbook_factory );
28+ String displayName = LogbookUIPreferences .log_entry_table_display_name ;
29+ if (!Strings .isNullOrEmpty (displayName )){
30+ DISPLAY_NAME = displayName ;
31+ }
2732 }
2833
2934 @ Override
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ public class LogbookUIPreferences
3131 @ Preference public static boolean log_entry_groups_support ;
3232 @ Preference public static boolean log_entry_update_support ;
3333 @ Preference public static String [] hidden_properties ;
34+ @ Preference public static String log_entry_table_display_name ;
3435 @ Preference public static String log_entry_calendar_display_name ;
3536 @ Preference public static String log_attribute_desc ;
3637 @ Preference public static int search_result_page_size ;
Original file line number Diff line number Diff line change @@ -36,6 +36,9 @@ log_entry_update_support=true
3636# business logic, but should not be rendered in the properties view.
3737hidden_properties =Log Entry Group
3838
39+ # Log Entry Table display name. If non-empty it overrides default "Log Entry Table"
40+ log_entry_table_display_name =
41+
3942# Log Entry Calendar display name. If non-empty it overrides default "Log Entry Calendar"
4043log_entry_calendar_display_name =
4144
You can’t perform that action at this time.
0 commit comments