Changeset 26168 in osm for applications/editors/josm/plugins/public_transport/src/public_transport/SettingsStoptypeCommand.java
- Timestamp:
- 2011-06-23T17:50:32+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/public_transport/src/public_transport/SettingsStoptypeCommand.java
r23192 r26168 1 1 package public_transport; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import org.openstreetmap.josm.Main; … … 47 49 if ((Node)waypointTM.nodes.elementAt(i) != null) 48 50 { 49 Node node = (Node)waypointTM.nodes.elementAt(i);50 oldStrings.add(new HighwayRailway(node));51 StopImporterAction.setTagsWrtType(node, type);51 Node node = (Node)waypointTM.nodes.elementAt(i); 52 oldStrings.add(new HighwayRailway(node)); 53 StopImporterAction.setTagsWrtType(node, type); 52 54 } 53 55 } … … 57 59 for (int i = 0; i < track.stoplistTM.getRowCount(); ++i) 58 60 { 59 if (track.stoplistTM.nodeAt(i) != null)60 {61 Node node = track.stoplistTM.nodeAt(i);62 oldStrings.add(new HighwayRailway(node));63 StopImporterAction.setTagsWrtType(node, type);64 }61 if (track.stoplistTM.nodeAt(i) != null) 62 { 63 Node node = track.stoplistTM.nodeAt(i); 64 oldStrings.add(new HighwayRailway(node)); 65 StopImporterAction.setTagsWrtType(node, type); 66 } 65 67 } 66 68 } … … 86 88 @Override public JLabel getDescription() 87 89 { 88 return new JLabel( "public_transport.Settings.ChangeStoptype");90 return new JLabel(tr("Public Transport: Change stop type")); 89 91 } 90 92
Note:
See TracChangeset
for help on using the changeset viewer.