source: osm/applications/editors/josm/plugins/surveyor/resources/surveyor.xml

Last change on this file was 35262, checked in by donvip, 5 years ago

fix #josm17563 - fix icon support, add unit test

File size: 5.1 KB
Line 
1<?xml version="1.0"?>
2<surveyor columns="4" width="1300" height="0">
3 <!-- icons can either be absolute paths or relative paths to the .josm directory -->
4 <!-- action class: either fully qualified classnames or if not found,
5 package at.dallermassl.josm.plugin.surveyor.action is assumed -->
6 <button label="Tunnel Start" hotkey="T" icon="presets/transport/passage/tunnel.svg">
7 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
8 <action class="SetWaypointAction" params="tunnel start"/>
9 <!--action class="ConsolePrinterAction" params="tunnel start,tunnel"/-->
10 <!--action class="SystemExecuteAction" params="mplayer,-quiet,/usr/share/apps/klettres/de/alpha/x.ogg"/-->
11 </button>
12 <button label="Bridge" hotkey="B" type="toggle">
13 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
14 <action class="SetWaypointAction" params="bridge"/>
15 </button>
16 <button label="Village/City" hotkey="V" icon="presets/place/village.svg">
17 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
18 <action class="SetWaypointAction" params="village"/>
19 <!--
20 <action class="SetNodeAction" params=""/>
21 <action class="AnnotationPresetAction" params="Places"/>
22 -->
23 </button>
24 <button label="Parking" hotkey="P" icon="presets/vehicle/parking/parking.svg">
25 <!--action class="SetNodeAction" params="amenity=parking"/-->
26 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
27 <action class="SetWaypointAction" params="Parking"/>
28 </button>
29 <button label="Church" hotkey="C" icon="presets/religion/church.svg">
30 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
31 <action class="SetNodeAction" params="amenity=place_of_worship,denomination=christian"/>
32 <action class="SetWaypointAction" params="Church"/>
33 </button>
34 <button label="Fuel Station" hotkey="F" icon="presets/vehicle/fuel.svg">
35 <!--action class="SetNodeAction" params="amenity=fuel"/-->
36 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
37 <action class="SetWaypointAction" params="Fuel"/>
38 </button>
39 <button label="Hotel" hotkey="H" icon="presets/accommodation/hotel.svg">
40 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
41 <action class="SetWaypointAction" params="Hotel"/>
42 </button>
43 <button label="Restaurant" hotkey="R" icon="presets/food/restaurant.svg">
44 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
45 <action class="SetNodeAction" params="amenity=restaurant"/>
46 <action class="SetWaypointAction" params="Restaurant"/>
47 </button>
48 <button label="Shopping" hotkey="S" icon="presets/shop/mall.svg">
49 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
50 <action class="SetWaypointAction" params="Info"/>
51 </button>
52 <button label="WC" hotkey="W" icon="presets/service/toilets.svg">
53 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
54 <action class="SetWaypointAction" params="Info"/>
55 </button>
56 <button label="Camping" hotkey="Z" icon="presets/accommodation/caravan.svg">
57 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
58 <action class="SetWaypointAction" params="Camping"/>
59 </button>
60 <button label="Info" hotkey="I">
61 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
62 <action class="SetWaypointAction" params="Info"/>
63 </button>
64 <button label="Exit" hotkey="E">
65 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
66 <action class="SetWaypointAction" params="Exit"/>
67 </button>
68 <button label="Motorway" hotkey="1">
69 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
70 <action class="SetWaypointAction" params="Motorway"/>
71 </button>
72 <button label="Primary" hotkey="2">
73 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
74 <action class="SetWaypointAction" params="Primary"/>
75 </button>
76 <button label="Secondary" hotkey="3">
77 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
78 <action class="SetWaypointAction" params="Secondary"/>
79 </button>
80 <button label="Unclassified" hotkey="4">
81 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
82 <action class="SetWaypointAction" params="Unclassified"/>
83 </button>
84 <button label="Residential" hotkey="5">
85 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
86 <action class="SetWaypointAction" params="Residential"/>
87 </button>
88 <!--
89 <button label="Test" hotkey="shift X">
90 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
91 <action class="SetWaypointAction" params="Test X"/>
92 </button>
93 <button label="Test" hotkey="F12">
94 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
95 <action class="SetWaypointAction" params="Test"/>
96 </button>
97 -->
98</surveyor>
Note: See TracBrowser for help on using the repository browser.