Last change
on this file since 13777 was 12594, checked in by bastiK, 7 years ago |
fixed #15139 - raster-image filter settings are Not Stored when saving session (color Saturation, Brightness, Sharpness)
|
-
Property svn:eol-style
set to
native
|
File size:
616 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.io.session;
|
---|
3 |
|
---|
4 | import java.util.Map;
|
---|
5 |
|
---|
6 | /**
|
---|
7 | * Interface to support export to session file (and import back) for a class that
|
---|
8 | * stores customizable user settings.
|
---|
9 | *
|
---|
10 | * @since 12594
|
---|
11 | */
|
---|
12 | public interface SessionAwareReadApply {
|
---|
13 |
|
---|
14 | /**
|
---|
15 | * Export settings to a map of properties.
|
---|
16 | * @return map of properties
|
---|
17 | */
|
---|
18 | Map<String, String> toPropertiesMap();
|
---|
19 |
|
---|
20 | /**
|
---|
21 | * Import settings from a map of properties.
|
---|
22 | * @param properties properties map
|
---|
23 | */
|
---|
24 | void applyFromPropertiesMap(Map<String, String> properties);
|
---|
25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.