Changeset 8840 in josm for trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetItems.java
- Timestamp:
- 2015-10-09T02:12:45+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetItems.java
r8836 r8840 81 81 } 82 82 83 private static int auto_increment_selected = 0;83 private static int auto_increment_selected; 84 84 /** Translatation of "<different>". Use in combo boxes to display en entry matching several different values. */ 85 85 public static final String DIFFERENT = tr("<different>"); … … 189 189 public SearchCompiler.Match memberExpression; 190 190 191 public boolean required = false;192 private long count = 0;191 public boolean required; 192 private long count; 193 193 194 194 public void setType(String types) throws SAXException { … … 307 307 public static class Usage { 308 308 private SortedSet<String> values; 309 private boolean hadKeys = false;310 private boolean hadEmpty = false;309 private boolean hadKeys; 310 private boolean hadEmpty; 311 311 312 312 public boolean hasUniqueValue() { … … 885 885 public String value_off = OsmUtils.falseval; 886 886 /** whether the off value is disabled in the dialog, i.e., only unset or yes are provided */ 887 public boolean disable_off = false;887 public boolean disable_off; 888 888 /** "on" or "off" or unset (default is unset) */ 889 public String default_ = null; // only used for tagless objects889 public String default_; // only used for tagless objects 890 890 891 891 private QuadStateCheckBox check; … … 1010 1010 protected JComponent component; 1011 1011 protected final Map<String, PresetListEntry> lhm = new LinkedHashMap<>(); 1012 private boolean initialized = false;1012 private boolean initialized; 1013 1013 protected Usage usage; 1014 1014 protected Object originalValue;
Note:
See TracChangeset
for help on using the changeset viewer.