Changeset 509 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2008-01-03T22:35:25+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/PluginPreference.java
r504 r509 55 55 */ 56 56 public static class PluginDescription { 57 // Note: All the following need to be public instance variables of 58 // type String. (Plugin description XMLs from the server are parsed 59 // with tools.XmlObjectParser, which uses reflection to access them.) 57 60 public String name; 58 61 public String description; 59 public URLresource;62 public String resource; 60 63 public String version; 61 public PluginDescription(String name, String description, URLresource, String version) {64 public PluginDescription(String name, String description, String resource, String version) { 62 65 this.name = name; 63 66 this.description = description; … … 250 253 info.name, 251 254 info.description, 252 PluginInformation.fileToURL(f), 255 PluginInformation.fileToURL(f).toString(), 253 256 info.version)); 254 257 } catch (PluginException x) { … … 273 276 proxy.info.name, 274 277 proxy.info.description, 275 proxy.info.file == null ? null : PluginInformation.fileToURL(proxy.info.file), 278 proxy.info.file == null ? null : 279 PluginInformation.fileToURL(proxy.info.file).toString(), 276 280 proxy.info.version)); 277 281 return availablePlugins.values();
Note:
See TracChangeset
for help on using the changeset viewer.