From c660795a959a1decdec09bb60f54722cf0653272 Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 7 Sep 2024 12:57:02 +0100 Subject: [PATCH] #506 #504 Remove all usage of STR template, store last import location --- .idea/dataSources.xml | 15 ++-- .idea/misc.xml | 3 +- .../TcMenuDesigner_Single_Test.xml | 4 +- embeddedJavaExample/pom.xml | 4 +- tcMenuGenerator/pom.xml | 2 +- .../menu/editorui/MenuEditorApp.java | 8 +- .../editorui/cli/CodeGeneratorCommand.java | 2 +- .../menu/editorui/cli/StartUICommand.java | 2 +- .../generator/CodeGeneratorSupplier.java | 2 +- .../generator/core/CoreCodeGenerator.java | 6 +- .../gfxui/CreateBitmapWidgetController.java | 25 +++--- .../gfxui/CreateBitmapWidgetToolDialog.java | 11 +-- .../gfxui/CreateFontUtilityController.java | 42 ++++----- .../gfxui/CreateFontUtilityDialog.java | 11 +-- .../gfxui/NativeFreeFontGlyphGenerator.java | 4 +- .../editorui/gfxui/font/EmbeddedFont.java | 4 +- .../gfxui/font/EmbeddedFontExporter.java | 34 ++++---- .../gfxui/font/EmbeddedFontGlyph.java | 2 +- .../gfxui/font/FontCreationController.java | 2 +- .../gfxui/imgedit/SimpleImageEditor.java | 6 +- .../gfxui/imgedit/SimpleImagePane.java | 2 +- .../storage/ConfigurationStorage.java | 8 +- .../storage/JdbcTcMenuConfigurationStore.java | 85 +++++++++++++------ .../storage/PrefsConfigurationStorage.java | 22 ++--- .../menu/editorui/storage/TcConfigEntry.java | 63 ++++++++++++++ .../editorui/storage/TcConfigEntryType.java | 22 +++++ .../uimodel/CurrentProjectEditorUIImpl.java | 4 +- 27 files changed, 268 insertions(+), 127 deletions(-) create mode 100644 tcMenuGenerator/src/main/java/com/thecoderscorner/menu/editorui/storage/TcConfigEntry.java create mode 100644 tcMenuGenerator/src/main/java/com/thecoderscorner/menu/editorui/storage/TcConfigEntryType.java diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index 52f58f0a..8bf0e160 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -1,18 +1,21 @@ - - sqlite.xerial + + hsqldb.local true - org.sqlite.JDBC - jdbc:sqlite:$USER_HOME$/.tcmenu/tcDataStore.db + org.hsqldb.jdbc.JDBCDriver + jdbc:hsqldb:file:$USER_HOME$/.tcmenu/h2db/tcmenuConfig;ifexists=true + + + $ProjectFileDir$ - + hsqldb.local true org.hsqldb.jdbc.JDBCDriver - jdbc:hsqldb:file:$USER_HOME$/.tcmenu/h2db/tcmenuConfig;ifexists=true + jdbc:hsqldb:file:$USER_HOME$/temp/bug/h2db/tcmenuConfig;ifexists=true diff --git a/.idea/misc.xml b/.idea/misc.xml index 84b6f935..5200a038 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,3 @@ - @@ -28,5 +27,5 @@ - + \ No newline at end of file diff --git a/.idea/runConfigurations/TcMenuDesigner_Single_Test.xml b/.idea/runConfigurations/TcMenuDesigner_Single_Test.xml index 4516863f..22f141e5 100644 --- a/.idea/runConfigurations/TcMenuDesigner_Single_Test.xml +++ b/.idea/runConfigurations/TcMenuDesigner_Single_Test.xml @@ -9,8 +9,8 @@