Changes between Version 27 and Version 28 of TaggingPresets
- Timestamp:
- 2010-09-13T01:41:47+02:00 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TaggingPresets
v27 v28 41 41 42 42 === Tags === 43 The following tags are used:43 The document prolog: 44 44 '''<presets>''':: 45 45 Has to be the main tag of the file. Supports following attributes … … 50 50 * '''shortdescription''' (i18n) - short overview description 51 51 * '''link''' (i18n) - web link to further details 52 Comments: 53 '''<!-- this is an example comment -->''':: 54 The document can contain embedded comments. 55 Menu creation: 52 56 '''<group>''':: 53 57 Used to group items in sub menus. ''name'' is required, ''icon'' is optional attribute. … … 55 59 Every item is one annotation set to select from. ''name'' is required, ''icon'' is optional attribute. 56 60 '''<separator>''':: 57 Add an separator in menu. 61 Insert a line separator into the menu. 62 Create instructions for the user: 63 '''<label>''':: 64 Labels are static texts for display. ''text'' is a required attribute. 58 65 '''<optional>''':: 59 Used to group some optional elements of an item. 66 Used to group some optional elements of an item. Equivalent to <label text="Optional Attributes:"/> 60 67 '''<space>''':: 61 68 Add some space in the preset display. 62 69 '''<link>''':: 63 70 Specify web link for this feature. ''href'' is required. 64 '''<label>''':: 65 Labels are static texts for display. ''text'' is a required attribute. 71 Attribute entry and selection dialog boxes: 66 72 '''<text>''':: 67 73 A text edit field to enter any arbitrary string from the user. ''key'' is mandatory, ''text'' and ''default'' is optional … … 72 78 '''<check>''':: 73 79 A checkbox which the user can only select or deselect. The ''key'' attribute is mandatory. ''text'' and ''default'' is optional. 80 Set a key value pair: 74 81 '''<key>''':: 75 This tag will always set a key to a specific value. ''key'' is required and if ''value'' is present, the key will be set. If 76 ''value'' attribute is ommited, the key is removed. 82 This tag will always set a key to a specific value. ''key'' is required and if ''value'' is present, the key will be set. If ''value'' attribute is ommited, the key is removed. 77 83 78 84 === Attributes === … … 120 126 There are 3 different forms to handle icons: 121 127 122 * Icons distributed with JOSM can be entered directly with the path (relative to JOSM's internal image directory). 128 * Icons distributed with JOSM can be entered directly with the path (relative to JOSM's internal image directory). Hunt through [http://josm.openstreetmap.de/svn/trunk/data/defaultpresets.xml this page] for the names of existing icons. 123 129 * New icons can be directly referenced using a http-link. These are downloaded and cached internally. 124 130 * Since JOSM version 2289 Zip-Files are supported.
