Ignore:
Timestamp:
2007-07-19T12:50:09+02:00 (17 years ago)
Author:
christofd
Message:

added future code to check livegps plugin availability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/SurveyorPlugin.java

    r3346 r3624  
    1616
    1717import org.openstreetmap.josm.Main;
     18import org.openstreetmap.josm.plugins.PluginInformation;
    1819import org.openstreetmap.josm.plugins.PluginProxy;
    1920
     
    4142       
    4243        // try to determine if the livegps plugin was already loaded:
     44//        PluginInformation pluginInfo = PluginInformation.getLoaded("livegps");
     45//        if (pluginInfo == null) {
     46//          JOptionPane.showMessageDialog(null, "Please install wmsplugin");
     47//          return;
     48//        }
     49//        if (!pluginInfo.version.equals("2")) {
     50//          JOptionPane.showMessageDialog(null, "livegps Version 2 required.");
     51//          return;
     52//        }
    4353        try {
    4454            Class.forName("livegps.LiveGpsPlugin");
Note: See TracChangeset for help on using the changeset viewer.