Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Fix changed JOSM Plugin API usage #10

Conversation

mkarpisek
Copy link

Changes based on JOSM 13367 API,
Built .jar is in release

Summary of changes - all are for API usage by KaPor plugin:

  • use MainApplication.getMap() instead of Main.map
  • use MainApplication.getMenu() instead of Main.main
  • use MainApplication.getLayerManager() instead of Main.getLayerManager()
  • use new PreferenceChangedListener and PreferenceChangeEvent

Signed-off-by: Martin Karpisek martin.karpisek@gmail.com

Changes based on JOSM 13367 API,
Built .jar is in release

Summary of changes - all are for API usage by KaPor plugin:
- use MainApplication.getMap() instead of Main.map
- use MainApplication.getMenu() instead of Main.main
- use MainApplication.getLayerManager() instead of - use
Main.getLayerManager()
- use new PreferenceChangedListener and PreferenceChangeEvent

Signed-off-by: Martin Karpisek <martin.karpisek@gmail.com>
@zdila zdila merged commit aba6c5f into FreemapSlovakia:master Feb 15, 2018
@zdila
Copy link
Member

zdila commented Feb 15, 2018

vdaka!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants