Changeset 6310 in josm for trunk/src/org/openstreetmap/josm/plugins/PluginProxy.java
- Timestamp:
- 2013-10-07T00:04:48+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginProxy.java
r2830 r6310 4 4 import java.util.List; 5 5 6 import org.openstreetmap.josm.Main; 6 7 import org.openstreetmap.josm.gui.MapFrame; 7 8 import org.openstreetmap.josm.gui.download.DownloadSelection; … … 29 30 plugin.getClass().getMethod("mapFrameInitialized", MapFrame.class, MapFrame.class).invoke(plugin, oldFrame, newFrame); 30 31 } catch (NoSuchMethodException e) { 32 Main.debug("Plugin "+plugin+" does not define mapFrameInitialized"); 31 33 } catch (Exception e) { 32 34 BugReportExceptionHandler.handleException(new PluginException(this, getPluginInformation().name, e)); … … 38 40 return (PreferenceSetting)plugin.getClass().getMethod("getPreferenceSetting").invoke(plugin); 39 41 } catch (NoSuchMethodException e) { 42 Main.debug("Plugin "+plugin+" does not define getPreferenceSetting"); 40 43 return null; 41 44 } catch (Exception e) { … … 49 52 plugin.getClass().getMethod("addDownloadSelection", List.class).invoke(plugin, list); 50 53 } catch (NoSuchMethodException e) { 51 // ignore54 Main.debug("Plugin "+plugin+" does not define addDownloadSelection"); 52 55 } catch (Exception e) { 53 56 BugReportExceptionHandler.handleException(new PluginException(this, getPluginInformation().name, e));
Note:
See TracChangeset
for help on using the changeset viewer.