Changes between Version 8 and Version 9 of De:TaggingPresets
- Timestamp:
- 2014-10-29T14:04:13+01:00 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
De:TaggingPresets
v8 v9 1 [[TranslatedPages(revision=5 7,outdated=Die Syntax der Objektvorlagen wurde geändert und die Kopie des XML-Dokuments muss mit der Wikidokumentation zusammengeführt werden. Weiterhin sind einige Teile noch nicht übersetzt.)]]1 [[TranslatedPages(revision=58,outdated=Die Syntax der Objektvorlagen wurde geändert und die Kopie des XML-Dokuments muss mit der Wikidokumentation zusammengeführt werden. Wenn dies geschehen ist, müssen die Änderungen hier übernommen werden und schließlich dieser Teil noch übersetzt werden.)]] 2 2 = Objektvorlagen = 3 3 … … 39 39 == Veröffentlichen einer neuen Objektvorlage – XML Format Beschreibung == 40 40 41 Die Beschreibung einer Objektvorlage geschieht in einem einfachen XML Format. 42 43 Im Kommentarbereich von **[source:trunk/data/defaultpresets.xml defaultpresets.xml]** steht die **gültige Formatbeschreibung**.41 Die Beschreibung einer Objektvorlage geschieht in einem einfachen XML Format. 42 43 Siehe **[source:trunk/data/defaultpresets.xml defaultpresets.xml]** als Beispiel, welches alle Möglichkeiten abdeckt. 44 44 45 45 Das vollständige XSD Schema ist im Namensraum URI (http://josm.openstreetmap.de/tagging-preset-1.0) sowie [source:trunk/data/tagging-preset.xsd im Quellverzeichnis] verfügbar. … … 67 67 Used to group items in sub menus. ''name'' is required, ''icon'' is optional attribute. 68 68 '''<item>''':: 69 Every item is one annotation set to select from. ''name'' is required, '' icon'' is optional attribute.69 Every item is one annotation set to select from. ''name'' is required, ''type'' is recommended, ''icon'' is optional attribute. 70 70 '''<separator/>''':: 71 71 Insert a line separator into the menu. … … 76 76 Used to group some optional elements of an item. Possibly equivalent to <label text="Optional Attributes:"/> 77 77 '''<space />''':: 78 Add some space (ie a newline) in the preset display. Possibly equivalent to <label text=" "/>78 Add some space (ie a newline) in the preset display. 79 79 '''<link>''':: 80 80 Specify a web link for this feature or to anything else of use. The ''href'' attribute is required. … … 104 104 When specified, only objects of the given type will be changed at all by this tagging preset. Can be "node", "relation", "way", "closedway" or any comma separated combination of them. 105 105 '''icon="iconname"''':: 106 A name o f an icon that is within any classpath in the subdirectory of /images/symbols. You can load plugin-jar's to provide those images as well. The image will be used as icon to display in the selection list and when adding the preset to the toolbar. The icon should be quadratic in size.106 A name or link to an icon. The image will be used as icon to display in the selection list and when adding the preset to the toolbar. The icon should be quadratic in size. See [[Styles#Iconhandling]] how icons can be specified. 107 107 '''key="some_key"''':: 108 108 This specifies the property key that will be modified by the item. … … 146 146 === Format description from XML document (needs to be joined with above texts) === 147 147 148 {{{ 148 149 item: 149 150 name: the text to display … … 290 291 - keyvalue!: positive if key and value matches, negative otherwise 291 292 Note that for a match, at least one positive and no negative is required. 293 }}} 292 294 293 295 === Benutzung von Symbolen ===