Changeset 5155 in josm for trunk/data
- Timestamp:
- 2012-04-01T19:48:01+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r5150 r5155 25 25 key: key to set 26 26 value: value to set 27 match: none/key/key!/keyvalue (default is "ketvalue", see below for more information) 27 28 28 29 text: text box 29 30 key: key to set 30 31 text: fixed label to display 31 default: default string to display 32 delete_if_empty: true/false33 use_last_as_default: true/false/force32 default: default string to display (defaults to "") 33 use_last_as_default: true/false/force (default is "false") 34 match: none/key/key!/keyvalue (default is "none", see below for more information) 34 35 35 36 combo: combo box, with multiple choices and possible to enter free form text … … 46 47 ... 47 48 <short_description>last description</short_description> 48 default: default string to display 49 delete_if_empty: true/false50 use_last_as_default: true/false/force49 default: default string to display (defaults to "") 50 use_last_as_default: true/false/force (default is "false") 51 match: none/key/key!/keyvalue (default is none, see below for more information) 51 52 52 53 multiselect: list of values from which zero or more can be selected … … 66 67 ... 67 68 <short_description>last description</short_description> 68 default: default string to display 69 delete_if_empty: true/false70 use_last_as_default: true/false/force69 default: default string to display (defaults to "") 70 use_last_as_default: true/false/force (default is "false") 71 match: none/key/key!/keyvalue (default is "none", see below for more information) 71 72 72 73 check: checkbox … … 74 75 text: fixed label to display 75 76 default: ticked on/off 76 delete_if_empty: true/false77 77 value_on: the value to set when checked (default is "yes") 78 value_off: the value to set when unchecked (default is 'no') 78 value_off: the value to set when unchecked (default is "no") 79 match: none/key/key!/keyvalue (default is "none", see below for more information) 79 80 80 81 role: type to specify possible roles in relations … … 103 104 no specific translation has been given in XML file. When no "display_values" 104 105 are supplied, then "values" will be treated as "display_values" and translated instead. 106 107 The match attribute allows to change the matching process, i.e., determining whether 108 the tags of an OSM object fit into this preset. 109 - none: neutral, i.e., do not consider this item for matching 110 - key: positive if key matches, neutral otherwise 111 - key!: positive if key matches, negative otherwise 112 - keyvalue: positive if key and value matches, negative otherwise 113 Note that for a match, at least one positive and no negative is required. 105 114 --> 106 115 <group name="Highways" icon="presets/way_secondary.png">
Note:
See TracChangeset
for help on using the changeset viewer.