Changeset 16957 in osm for applications/editors/josm
- Timestamp:
- 2009-08-10T11:48:59+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/surveyor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/surveyor/resources/surveyor.xml
r12780 r16957 4 4 <!-- action class: either fully qualified classnames or if not found, 5 5 package at.dallermassl.josm.plugin.surveyor.action is assumed --> 6 <button label="Tunnel Start" hotkey="T" icon=" tunnel">6 <button label="Tunnel Start" hotkey="T" icon="styles/standard/vehicle/tunnel.png"> 7 7 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/> 8 8 <action class="SetWaypointAction" params="tunnel start"/> … … 14 14 <action class="SetWaypointAction" params="bridge"/> 15 15 </button> 16 <button label="Village/City" hotkey="V" icon=" place">16 <button label="Village/City" hotkey="V" icon="styles/standard/place.png"> 17 17 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/> 18 18 <action class="SetWaypointAction" params="village"/> … … 22 22 --> 23 23 </button> 24 <button label="Parking" hotkey="P" icon=" parking">24 <button label="Parking" hotkey="P" icon="styles/standard/vehicle/parking.png"> 25 25 <!--action class="SetNodeAction" params="amenity=parking"/--> 26 26 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/> 27 27 <action class="SetWaypointAction" params="Parking"/> 28 28 </button> 29 <button label="One Way" hotkey="O" icon=" noentry">29 <button label="One Way" hotkey="O" icon="presets/oneway.png"> 30 30 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/> 31 31 <action class="SetWaypointAction" params="oneway=yes"/> 32 32 </button> 33 <button label="Church" hotkey="C" icon=" church">33 <button label="Church" hotkey="C" icon="styles/standard/religion/church.png"> 34 34 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/> 35 35 <action class="SetNodeAction" params="amenity=place_of_worship,denomination=christian"/> 36 36 <action class="SetWaypointAction" params="Church"/> 37 37 </button> 38 <button label="Fuel Station" hotkey="F" icon=" fuel">38 <button label="Fuel Station" hotkey="F" icon="styles/standard/vehicle/fuel.png"> 39 39 <!--action class="SetNodeAction" params="amenity=fuel"/--> 40 40 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/> 41 41 <action class="SetWaypointAction" params="Fuel"/> 42 42 </button> 43 <button label="Hotel" hotkey="H" icon=" bed">43 <button label="Hotel" hotkey="H" icon="styles/standard/accommodation/hotel.png"> 44 44 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/> 45 45 <action class="SetWaypointAction" params="Hotel"/> 46 46 </button> 47 <button label="Restaurant" hotkey="R" icon=" restaurant">47 <button label="Restaurant" hotkey="R" icon="styles/standard/food/restaurant.png"> 48 48 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/> 49 49 <action class="SetNodeAction" params="amenity=restaurant"/> 50 50 <action class="SetWaypointAction" params="Restaurant"/> 51 51 </button> 52 <button label="Shopping" hotkey="S" icon="s hopping">52 <button label="Shopping" hotkey="S" icon="styles/standard/shop.png"> 53 53 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/> 54 54 <action class="SetWaypointAction" params="Info"/> 55 55 </button> 56 <button label="WC" hotkey="W" icon=" toilet">56 <button label="WC" hotkey="W" icon="styles/standard/vehicle/parking/restarea_toilets.png"> 57 57 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/> 58 58 <action class="SetWaypointAction" params="Info"/> 59 59 </button> 60 <button label="Camping" hotkey="Z" icon=" caravan">60 <button label="Camping" hotkey="Z" icon="styles/standard/accommodation/camping/caravan.png"> 61 61 <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/> 62 62 <action class="SetWaypointAction" params="Camping"/> -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/ButtonDescription.java
r13497 r16957 176 176 String actionName = tr(getLabel()) + " (" + hotkey + ")"; 177 177 178 Icon icon = ImageProvider.getIfAvailable("markers",iconName); 178 Icon icon = ImageProvider.getIfAvailable(null,iconName); 179 if (icon == null) 180 icon = ImageProvider.getIfAvailable("markers",iconName); 179 181 if (icon == null) 180 182 icon = ImageProvider.getIfAvailable("symbols",iconName);
Note:
See TracChangeset
for help on using the changeset viewer.