public class StreetsidePlugin extends org.openstreetmap.josm.plugins.Plugin
| Modifier and Type | Field and Description |
|---|---|
static org.openstreetmap.josm.tools.ImageProvider |
LOGO |
private static StreetsideWalkAction |
WALK_ACTION
Walk action
|
private static StreetsideZoomAction |
ZOOM_ACTION
Zoom action
|
| Constructor and Description |
|---|
StreetsidePlugin(org.openstreetmap.josm.plugins.PluginInformation info)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.openstreetmap.josm.gui.MapView |
getMapView() |
org.openstreetmap.josm.gui.preferences.PreferenceSetting |
getPreferenceSetting() |
(package private) static StreetsideDataListener[] |
getStreetsideDataListeners() |
static StreetsideWalkAction |
getStreetsideWalkAction() |
void |
mapFrameInitialized(org.openstreetmap.josm.gui.MapFrame oldFrame,
org.openstreetmap.josm.gui.MapFrame newFrame)
Called when the JOSM map frame is created or destroyed.
|
public static final org.openstreetmap.josm.tools.ImageProvider LOGO
private static final StreetsideZoomAction ZOOM_ACTION
private static final StreetsideWalkAction WALK_ACTION
public StreetsidePlugin(org.openstreetmap.josm.plugins.PluginInformation info)
info - Required information of the plugin. Obtained from the jar file.static StreetsideDataListener[] getStreetsideDataListeners()
public static StreetsideWalkAction getStreetsideWalkAction()
StreetsideWalkAction for the pluginpublic void mapFrameInitialized(org.openstreetmap.josm.gui.MapFrame oldFrame, org.openstreetmap.josm.gui.MapFrame newFrame)
mapFrameInitialized in interface org.openstreetmap.josm.gui.MapFrameListenermapFrameInitialized in class org.openstreetmap.josm.plugins.Pluginpublic org.openstreetmap.josm.gui.preferences.PreferenceSetting getPreferenceSetting()
getPreferenceSetting in class org.openstreetmap.josm.plugins.Pluginpublic static org.openstreetmap.josm.gui.MapView getMapView()
MapView without throwing a NullPointerException