Changeset 27675 in osm for applications/editors
- Timestamp:
- 2012-02-01T16:59:09+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/roadsigns/build.xml
r26990 r27675 30 30 <property name="commit.message" value="preset maintenance (Fahrradstraße)"/> 31 31 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 32 <property name="plugin.main.version" value="4 549"/>32 <property name="plugin.main.version" value="4721"/> 33 33 34 34 <!-- -
applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/Sign.java
r22420 r27675 82 82 public ImageIcon getIcon() { 83 83 if (icon == null) { 84 icon = ImageProvider.getIfAvailable(RoadSignsPlugin.iconDirs, "plugin.sign."+id, null, iconURL, null);84 icon = new ImageProvider(iconURL).setDirs(RoadSignsPlugin.iconDirs).setId("plugin.sign."+id).setOptional(true).get(); 85 85 } 86 86 return icon; -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/LaunchAction.java
r27576 r27675 28 28 Shortcut.registerShortcut("edit:launchtageditor", tr("Launches the tag editor dialog"), 29 29 KeyEvent.VK_T,Shortcut.GROUP_EDIT) 30 ,true);30 , true, "tageditor/launch", true); 31 31 32 32 DataSet.addSelectionListener(this); -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/preset/AbstractNameIconProvider.java
r23189 r27675 35 35 36 36 public Icon getIcon() { 37 if (icon == null ) {37 if (icon == null && getIconName() != null) { 38 38 Collection<String> s = Main.pref.getCollection("taggingpreset.icon.sources", null); 39 icon = ImageProvider.getIfAvailable(s, "presets", null, getIconName(), zipIconArchive); 40 if (icon == null) return null; 41 Image i = icon.getImage().getScaledInstance(16, 16, Image.SCALE_DEFAULT); 42 icon = new ImageIcon(i); 39 icon = new ImageProvider(getIconName()).setDirs(s).setId("presets").setArchive(zipIconArchive).setOptional(true) 40 .setMaxWidth(16).setMaxHeight(16).get(); 43 41 } 44 42 return icon;
Note:
See TracChangeset
for help on using the changeset viewer.