Changeset 12374 in josm for trunk/src/org/openstreetmap/josm/data/AutosaveTask.java
- Timestamp:
- 2017-06-09T21:31:39+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/AutosaveTask.java
r11905 r12374 73 73 private static final String DELETED_LAYERS_DIR = "autosave/deleted_layers"; 74 74 75 /** 76 * If autosave is enabled 77 */ 75 78 public static final BooleanProperty PROP_AUTOSAVE_ENABLED = new BooleanProperty("autosave.enabled", true); 79 /** 80 * The number of files to store per layer 81 */ 76 82 public static final IntegerProperty PROP_FILES_PER_LAYER = new IntegerProperty("autosave.filesPerLayer", 1); 83 /** 84 * How many deleted layers should be stored 85 */ 77 86 public static final IntegerProperty PROP_DELETED_LAYERS = new IntegerProperty("autosave.deletedLayersBackupCount", 5); 87 /** 88 * The autosave interval, in seconds 89 */ 78 90 public static final IntegerProperty PROP_INTERVAL = new IntegerProperty("autosave.interval", (int) TimeUnit.MINUTES.toSeconds(5)); 91 /** 92 * The maximum number of autosave files to store 93 */ 79 94 public static final IntegerProperty PROP_INDEX_LIMIT = new IntegerProperty("autosave.index-limit", 1000); 80 /** Defines if a notification should be displayed after each autosave */ 95 /** 96 * Defines if a notification should be displayed after each autosave 97 */ 81 98 public static final BooleanProperty PROP_NOTIFICATION = new BooleanProperty("autosave.notification", false); 82 99
Note:
See TracChangeset
for help on using the changeset viewer.