Ignore:
Timestamp:
2008-11-09T22:10:39+01:00 (17 years ago)
Author:
stoecker
Message:

added some plugin checks

File:
1 edited

Legend:

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

    r873 r1073  
    3232        public final File file;
    3333        public final String name;
     34        public final String mainversion;
    3435        public final String className;
    3536        public final String description;
     
    8182                                stage = stageStr == null ? 50 : Integer.parseInt(stageStr);
    8283                                version = attr.getValue("Plugin-Version");
     84                                mainversion = attr.getValue("Plugin-Mainversion");
    8385                                author = attr.getValue("Author");
    8486
     
    101103                                // resource-only plugin
    102104                                className = null;
     105                                mainversion = null;
    103106                                description = tr("unknown");
    104107                                early = false;
Note: See TracChangeset for help on using the changeset viewer.