Changeset 32472 in osm for applications/editors/josm/plugins
- Timestamp:
- 2016-06-30T20:16:23+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/michigan_left
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/michigan_left/build.xml
r31926 r32472 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/michigan_left/src/MichiganLeft/MichiganLeft.java
r30753 r32472 58 58 @Override 59 59 public void actionPerformed(ActionEvent e) { 60 Collection<OsmPrimitive> mainSelection = Main. main.getCurrentDataSet().getSelected();60 Collection<OsmPrimitive> mainSelection = Main.getLayerManager().getEditDataSet().getSelected(); 61 61 62 62 ArrayList<OsmPrimitive> selection = new ArrayList<>(); … … 228 228 @Override 229 229 protected void updateEnabledState() { 230 setEnabled(get EditLayer() != null);230 setEnabled(getLayerManager().getEditLayer() != null); 231 231 } 232 232
Note:
See TracChangeset
for help on using the changeset viewer.