Changeset 26582 in osm for applications/editors/josm/plugins/public_transport
- Timestamp:
- 2011-08-27T23:46:40+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/public_transport/src/public_transport/RoutePatternAction.java
r26533 r26582 134 134 if ((route.get("ref") != null) && (route.get("ref") != "")) 135 135 { 136 if ((route.get("to") != null) && (route.get("to") != "")) 137 { 138 buf += " " + route.get("ref") + ": " + route.get("to"); 139 } 140 else if ((route.get("direction") != null) && (route.get("direction") != "")) 141 { 142 buf += " " + route.get("ref") + ": " + route.get("direction"); 143 } 144 else 145 { 146 buf += " " + route.get("ref"); 147 } 136 buf += " " + route.get("ref"); 137 } 138 if ((route.get("loc_ref") != null) && (route.get("loc_ref") != "")) 139 { 140 buf += " [" + route.get("loc_ref") + "]"; 141 } 142 143 if ((route.get("to") != null) && (route.get("to") != "")) 144 { 145 buf += ": " + route.get("to"); 146 } 147 else if ((route.get("direction") != null) && (route.get("direction") != "")) 148 { 149 buf += " " + route.get("ref") + ": " + route.get("direction"); 150 } 151 else 152 { 153 buf += " " + route.get("ref"); 148 154 } 149 155 buf += tr(" [ID] {0}", Long.toString(route.getId())); … … 638 644 commonTagsData.addColumn(tr("Value")); 639 645 rowContent = new Vector< String >(); 646 rowContent.add(0, "loc_ref"); 647 tagBlacklist.add("loc_ref"); 648 rowContent.add(1, ""); 649 commonTagsData.addRow(rowContent); 650 rowContent = new Vector< String >(); 640 651 rowContent.add(0, "direction"); 641 652 tagBlacklist.add("direction");
Note:
See TracChangeset
for help on using the changeset viewer.