org.openstreetmap.josm.plugins
Class PluginProxy
java.lang.Object
org.openstreetmap.josm.plugins.Plugin
org.openstreetmap.josm.plugins.PluginProxy
public class PluginProxy
- extends Plugin
Helper class for the JOSM system to communicate with the plugin.
This class should be of no interest for sole plugin writer.
Field Summary |
java.lang.Object |
plugin
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
plugin
public final java.lang.Object plugin
PluginProxy
public PluginProxy(java.lang.Object plugin,
PluginInformation info)
mapFrameInitialized
public void mapFrameInitialized(MapFrame oldFrame,
MapFrame newFrame)
- Description copied from class:
Plugin
- Called after Main.mapFrame is initalized. (After the first data is loaded).
You can use this callback to tweak the newFrame to your needs, as example install
an alternative Painter.
- Overrides:
mapFrameInitialized
in class Plugin
getPreferenceSetting
public PreferenceSetting getPreferenceSetting()
- Description copied from class:
Plugin
- Called in the preferences dialog to create a preferences page for the plugin,
if any available.
- Overrides:
getPreferenceSetting
in class Plugin
addDownloadSelection
public void addDownloadSelection(java.util.List<DownloadSelection> list)
- Description copied from class:
Plugin
- Called in the download dialog to give the plugin a chance to modify the list
of bounding box selectors.
- Overrides:
addDownloadSelection
in class Plugin
JOSM