Ignore:
Timestamp:
2007-07-19T23:19:21+02:00 (19 years ago)
Author:
imi
Message:
  • fixed Bug Report module to work better with plugins
  • fixed Plugin.getPreferenceDir and Plugin.copy
  • fixed Ctrl-Q not asking for changed data
  • fixed several typos in Shortcuts
  • removed check for latest josm version
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/plugins/PluginProxy.java

    r267 r292  
    1919        public final Object plugin;
    2020        public final PluginInformation info;
    21         public boolean misbehaving = false;
    2221
    2322        public PluginProxy(Object plugin, PluginInformation info) {
    2423                this.plugin = plugin;
    2524                this.info = info;
    26 
    27                 // setting name of the plugin by reflection
    28                 if (plugin instanceof Plugin) {
    29                         try {
    30                         Plugin.class.getDeclaredField("name").set(plugin, info.name);
    31                 } catch (Exception e) {
    32                         if (e instanceof RuntimeException)
    33                                 throw (RuntimeException)e;
    34                         throw new RuntimeException(e);
    35                 }
    36                 }
    3725    }
    3826
Note: See TracChangeset for help on using the changeset viewer.