#12953 closed enhancement (fixed)
[Patch] Replace most uses of MapView.getActiveLayer and similar methods
Reported by: | michael2402 | Owned by: | michael2402 |
---|---|---|---|
Priority: | normal | Milestone: | 16.06 |
Component: | Core | Version: | |
Keywords: | gsoc-core | Cc: | Don-vip, bastiK, stoecker |
Description
Replace most uses of:
- MapView.getActiveLayer()
- MapView.setActiveLayer()
- MapView.getEditLayer()
- MapView.getLayers()
- MapView.getLayersAsList()
- MapView.hasLayer()
I added a patch for core and the plugins repository.
Attachments (2)
Change History (9)
by , 8 years ago
Attachment: | patch-layer-manager-migrate-from-mapview.patch added |
---|
by , 8 years ago
Attachment: | patch-layer-manager-migrate-from-mapview-plugins.patch added |
---|
comment:1 by , 8 years ago
comment:2 by , 8 years ago
For the plugins you must in each case increase the minimum JOSM version in build.xml to the minimum version required for the change to work.
comment:4 by , 8 years ago
Minimum JOSM version build.xml is the main reason for all these @since statements :-)
comment:5 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:6 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | needinfo → closed |
Patch applied in [o32329]. Plugins jars need to be updated, I think I'll do an i18n update soon and update them all.
comment:7 by , 8 years ago
Thanks. I was just going through the build.xml files and changing the version :-( ;-)
In 10364/josm: