public class StreetsidePlugin extends Plugin
| Modifier and Type | Field and Description |
|---|---|
static ImageProvider |
LOGO |
private static StreetsideWalkAction |
WALK_ACTION
Walk action
|
private static StreetsideZoomAction |
ZOOM_ACTION
Zoom action
|
| Constructor and Description |
|---|
StreetsidePlugin(PluginInformation info)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static MapView |
getMapView() |
PreferenceSetting |
getPreferenceSetting() |
(package private) static StreetsideDataListener[] |
getStreetsideDataListeners() |
static StreetsideWalkAction |
getStreetsideWalkAction() |
void |
mapFrameInitialized(MapFrame oldFrame,
MapFrame newFrame)
Called when the JOSM map frame is created or destroyed.
|
addDownloadSelection, copy, getPluginDir, getPluginDirs, getPluginInformation, getPluginResourceClassLoader, setPluginInformationpublic static final ImageProvider LOGO
private static final StreetsideZoomAction ZOOM_ACTION
private static final StreetsideWalkAction WALK_ACTION
public StreetsidePlugin(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(MapFrame oldFrame, MapFrame newFrame)
mapFrameInitialized in interface MapFrameListenermapFrameInitialized in class Pluginpublic PreferenceSetting getPreferenceSetting()
getPreferenceSetting in class Pluginpublic static MapView getMapView()
MapView without throwing a NullPointerException