project:mt:startup:tecdesc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
project:mt:startup:tecdesc [2023/05/23 14:15] – snarfbur | project:mt:startup:tecdesc [2023/05/23 14:30] (current) – snarfbur | ||
---|---|---|---|
Line 14: | Line 14: | ||
==== Refactor: UI startup frame ==== | ==== Refactor: UI startup frame ==== | ||
+ | |||
+ | === Best Solution === | ||
* Separate user from system settings, users first | * Separate user from system settings, users first | ||
Line 23: | Line 25: | ||
* Describe usage of MapTool.cgf | * Describe usage of MapTool.cgf | ||
* Describe keys for advanced options | * Describe keys for advanced options | ||
+ | |||
+ | === Minimum Solution === | ||
+ | |||
+ | * Add description for the startup.properties file and the minimum how to use it. | ||
===== Implementation Decisions ===== | ===== Implementation Decisions ===== | ||
Line 49: | Line 55: | ||
* **User Parameters** \\ At least an advanced user want to have control over them (e.g. DATA_DIR, Language). Hard to change them after initialization, | * **User Parameters** \\ At least an advanced user want to have control over them (e.g. DATA_DIR, Language). Hard to change them after initialization, | ||
The current UserJvmOptions is therefore a mix of JVM, library and application options and should be refactored. Since it has also a lot of methods to handle the cfg file values, I would at least recommend an renaming. \\ A first closer check shows that this class is mainly used in the PreferenceDialog, | The current UserJvmOptions is therefore a mix of JVM, library and application options and should be refactored. Since it has also a lot of methods to handle the cfg file values, I would at least recommend an renaming. \\ A first closer check shows that this class is mainly used in the PreferenceDialog, | ||
+ | |||
+ | ==== Refactor: UI startup frame ==== | ||
+ | |||
+ | Analysis of the Option Dialog shows: | ||
+ | |||
+ | * All in one Class: | ||
+ | * Swing | ||
+ | * Generated Code: Tool xxx used | ||
+ | |||
+ | Since Swing is deprecated and I have no experience with the Tool or with JavaFX I will go for the minimum + bug fixing (show the correct values) and maybe add the new values (without the tool). | ||
===== Implementation Questions ===== | ===== Implementation Questions ===== |
project/mt/startup/tecdesc.1684844120.txt.gz · Last modified: 2023/05/23 14:15 by snarfbur