Changeset 26533 in osm for applications/editors/josm/plugins
- Timestamp:
- 2011-08-12T10:15:25+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/public_transport/src/public_transport/RoutePatternAction.java
r26168 r26533 1623 1623 Double.parseDouble(tfSuggestStopsLimit.getText()) * 9.0 / 1000000.0 ) 1624 1624 { 1625 sr.role = (String)stoplistData.getValueAt(i, 1);1625 sr.role = (String)stoplistData.getValueAt(i, STOPLIST_ROLE_COLUMN); 1626 1626 srm.addElement(sr); 1627 1627 } 1628 1628 else 1629 1629 { 1630 sr.role = (String)stoplistData.getValueAt(i, 1);1630 sr.role = (String)stoplistData.getValueAt(i, STOPLIST_ROLE_COLUMN); 1631 1631 sr.index = segmentMetrics.size()*2; 1632 1632 sr.pos = 0; … … 1655 1655 Double.parseDouble(tfSuggestStopsLimit.getText()) * 9.0 / 1000000.0 ) 1656 1656 { 1657 sr.role = (String)stoplistData.getValueAt(i, 1);1657 sr.role = (String)stoplistData.getValueAt(i, STOPLIST_ROLE_COLUMN); 1658 1658 srm.addElement(sr); 1659 1659 } 1660 1660 else 1661 1661 { 1662 sr.role = (String)stoplistData.getValueAt(i, 1);1662 sr.role = (String)stoplistData.getValueAt(i, STOPLIST_ROLE_COLUMN); 1663 1663 sr.index = segmentMetrics.size()*2; 1664 1664 sr.pos = 0; … … 1693 1693 if (stoplistTable.isRowSelected(i)) 1694 1694 { 1695 String role = (String)(stoplistData.getValueAt(i, 1));1695 String role = (String)(stoplistData.getValueAt(i, STOPLIST_ROLE_COLUMN)); 1696 1696 RelationMember markedNode = new RelationMember 1697 1697 (role, stoplistData.nodes.elementAt(i)); … … 1707 1707 for (int i = stoplistData.getRowCount()-1; i >=0; --i) 1708 1708 { 1709 String role = (String)(stoplistData.getValueAt(i, 1));1709 String role = (String)(stoplistData.getValueAt(i, STOPLIST_ROLE_COLUMN)); 1710 1710 RelationMember markedNode = new RelationMember 1711 1711 (role, stoplistData.nodes.elementAt(i)); … … 1943 1943 { 1944 1944 RelationMember member = new RelationMember 1945 ((String)(stoplistData.getValueAt(i, 1)), stoplistData.nodes.elementAt(i)); 1945 ((String)(stoplistData.getValueAt(i, STOPLIST_ROLE_COLUMN)), 1946 stoplistData.nodes.elementAt(i)); 1946 1947 currentRoute.addMember(member); 1947 1948 }
Note:
See TracChangeset
for help on using the changeset viewer.