Changeset 20648 in osm for applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap
- Timestamp:
- 2010-03-24T19:23:18+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionTypeRenderer.java
r20489 r20648 26 26 for(TurnRestrictionType type: TurnRestrictionType.values()) { 27 27 try { 28 ImageIcon icon = new ImageIcon(ImageProvider.get("types ", type.getTagValue()).getImage().getScaledInstance(16, 16, Image.SCALE_SMOOTH));28 ImageIcon icon = new ImageIcon(ImageProvider.get("types/set-a", type.getTagValue()).getImage().getScaledInstance(16, 16, Image.SCALE_SMOOTH)); 29 29 icons.put(type,icon); 30 30 } catch(Exception e){ -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/VehicleExceptionEditor.java
r20586 r20648 80 80 cbPsv.addItemListener(changeHandler); 81 81 lbl = new JLabel(); 82 lbl.setText(tr("Public Service Vehicle "));82 lbl.setText(tr("Public Service Vehicles")); 83 83 lbl.setToolTipText(tr("Public service vehicles like buses, tramways, etc.")); 84 84 lbl.setIcon(ImageProvider.get("vehicle", "psv")); -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionCellRenderer.java
r20556 r20648 84 84 */ 85 85 protected String buildImageName(String restrictionType) { 86 return "types/ " + restrictionType;86 return "types/set-a/" + restrictionType; 87 87 } 88 88 -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionsListDialog.java
r20556 r20648 74 74 pnlTurnRestrictionsInSelection.registerAsListener(); 75 75 MapView.addEditLayerChangeListener(actNew); 76 actNew.updateEnabledState(); 76 77 } 77 78 … … 318 319 } 319 320 320 p rotectedvoid updateEnabledState() {321 public void updateEnabledState() { 321 322 setEnabled(Main.main != null && Main.main.getEditLayer() != null); 322 323 }
Note:
See TracChangeset
for help on using the changeset viewer.