public class PluginProxy extends Plugin
Constructor and Description |
---|
PluginProxy(Object plugin,
PluginInformation info)
Constructs a new
PluginProxy . |
Modifier and Type | Method and Description |
---|---|
void |
addDownloadSelection(List<DownloadSelection> list)
Called in the download dialog to give the plugin a chance to modify the list
of bounding box selectors.
|
PreferenceSetting |
getPreferenceSetting()
Called in the preferences dialog to create a preferences page for the plugin,
if any available.
|
private void |
handlePluginException(Exception e) |
void |
mapFrameInitialized(MapFrame oldFrame,
MapFrame newFrame)
Called after Main.mapFrame is initalized.
|
copy, getPluginDir, getPluginInformation, getPluginResourceClassLoader, setPluginInformation
public PluginProxy(Object plugin, PluginInformation info)
PluginProxy
.plugin
- the plugininfo
- the associated plugin infoprivate void handlePluginException(Exception e)
public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame)
MapFrameListener
mapFrameInitialized
in interface MapFrameListener
mapFrameInitialized
in class Plugin
oldFrame
- The old MapFramenewFrame
- The new MapFramepublic PreferenceSetting getPreferenceSetting()
Plugin
getPreferenceSetting
in class Plugin
null
public void addDownloadSelection(List<DownloadSelection> list)
Plugin
addDownloadSelection
in class Plugin
list
- list of bounding box selectors