Changes between Version 27 and Version 28 of TaggingPresets


Ignore:
Timestamp:
2010-09-13T01:41:47+02:00 (15 years ago)
Author:
anonymous
Comment:

Sort tags into groupings

Legend:

Unmodified
Added
Removed
Modified
  • TaggingPresets

    v27 v28  
    4141
    4242=== Tags ===
    43 The following tags are used:
     43The document prolog:
    4444 '''<presets>'''::
    4545   Has to be the main tag of the file. Supports following attributes
     
    5050   * '''shortdescription''' (i18n) - short overview description
    5151   * '''link''' (i18n) - web link to further details
     52Comments:
     53 '''<!-- this is an example comment -->'''::
     54  The document can contain embedded comments.
     55Menu creation:
    5256 '''<group>'''::
    5357   Used to group items in sub menus. ''name'' is required, ''icon'' is optional attribute.
     
    5559   Every item is one annotation set to select from. ''name'' is required, ''icon'' is optional attribute.
    5660 '''<separator>'''::
    57    Add an separator in menu.
     61   Insert a line separator into the menu.
     62Create instructions for the user:
     63 '''<label>'''::
     64   Labels are static texts for display. ''text'' is a required attribute.
    5865 '''<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:"/>
    6067 '''<space>'''::
    6168   Add some space in the preset display.
    6269 '''<link>'''::
    6370   Specify web link for this feature. ''href'' is required.
    64  '''<label>'''::
    65    Labels are static texts for display. ''text'' is a required attribute.
     71Attribute entry and selection dialog boxes:
    6672 '''<text>'''::
    6773   A text edit field to enter any arbitrary string from the user. ''key'' is mandatory, ''text'' and ''default'' is optional
     
    7278 '''<check>'''::
    7379   A checkbox which the user can only select or deselect. The ''key'' attribute is mandatory. ''text'' and ''default'' is optional.
     80Set a key value pair:
    7481 '''<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.
    7783
    7884=== Attributes ===
     
    120126There are 3 different forms to handle icons:
    121127
    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.
    123129 * New icons can be directly referenced using a http-link. These are downloaded and cached internally.
    124130 * Since JOSM version 2289 Zip-Files are supported.