Changeset 32481 in osm for applications/editors/josm/plugins/download_along
- Timestamp:
- 2016-07-01T09:39:12+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/download_along
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/download_along/build.xml
r31926 r32481 4 4 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value=" 7001"/>6 <property name="plugin.main.version" value="10353"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/download_along/src/org/openstreetmap/josm/plugin/download_along/DownloadAlongWayAction.java
r30737 r32481 42 42 @Override 43 43 public void actionPerformed(ActionEvent e) { 44 Set<Way> selectedWays = OsmPrimitive.getFilteredSet( Main.main.getCurrentDataSet().getSelected(), Way.class);44 Set<Way> selectedWays = OsmPrimitive.getFilteredSet(getLayerManager().getEditDataSet().getSelected(), Way.class); 45 45 46 46 if (selectedWays.isEmpty()) { … … 133 133 @Override 134 134 protected void updateEnabledState() { 135 if (get CurrentDataSet() == null) {135 if (getLayerManager().getEditDataSet() == null) { 136 136 setEnabled(false); 137 137 } else { 138 updateEnabledState(get CurrentDataSet().getSelected());138 updateEnabledState(getLayerManager().getEditDataSet().getSelected()); 139 139 } 140 140 }
Note:
See TracChangeset
for help on using the changeset viewer.