Last active
May 28, 2022 21:35
-
-
Save ennerf/5ae6cfcb336a3839bf5e47f94f7c6995 to your computer and use it in GitHub Desktop.
Properties with persistence
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Properties with added persistence between runs. Generated accessors are omitted. | |
*/ | |
public class UiConfig extends PersistentProperties { | |
private final BooleanProperty debugEnabled = getBoolean("ENABLE_DEBUG", true); | |
private final StringProperty unitLabel = getString("SELECTED_UNITS", "mm"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment