Ignore:
Timestamp:
2011-04-15T22:03:38+02:00 (13 years ago)
Author:
stoecker
Message:

remove migration stuff for old imagery, wms and remote control plugins

Location:
trunk/src/org/openstreetmap/josm/gui/preferences
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/ImageryPreference.java

    r4016 r4028  
    7373    ImageryLayerInfo layerInfo;
    7474
    75     static ImagerySettingsMigration settingsMigration;
    76 
    7775    // Common settings
    7876    private Color colFadeColor;
     
    137135        p.add(this.sharpen, GBC.eol().fill(GBC.HORIZONTAL));
    138136
    139         if (settingsMigration != null) {
    140             final JButton btnSettingsMigration = new JButton(tr("WMSPlugin/SlippyMap settings migration"));
    141             btnSettingsMigration.addActionListener(new ActionListener() {
    142                 @Override
    143                 public void actionPerformed(ActionEvent e) {
    144                     if (settingsMigration == null) return;
    145                     settingsMigration.settingsMigrationDialog(gui);
    146                     loadSettings();
    147                     imageryProviders.model.fireTableDataChanged();
    148                     if (!settingsMigration.hasConflicts()) {
    149                         btnSettingsMigration.setEnabled(false);
    150                         settingsMigration = null;
    151                     }
    152                 }
    153             });
    154             p.add(btnSettingsMigration,GBC.eol().insets(0,5,0,5));
    155         }
    156137        this.useOffsetServer = new JCheckBox(tr("Use offset server: "));
    157138        this.offsetServerUrl = new JTextField();
     
    855836
    856837    public static void initialize() {
    857         settingsMigration = new ImagerySettingsMigration();
    858         settingsMigration.migrateSettings();
    859         if (!settingsMigration.hasConflicts()) {
    860             settingsMigration = null;
    861         }
    862838        ImageryLayerInfo.instance.load();
    863839        ImageryLayerInfo.instance.loadDefaults(false);
Note: See TracChangeset for help on using the changeset viewer.