Changeset 25875 in osm


Ignore:
Timestamp:
2011-04-20T19:46:40+02:00 (14 years ago)
Author:
zverik
Message:

warning about utilsplugin2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/dumbutils/src/dumbutils/DumbUtilsPlugin.java

    r25873 r25875  
    22
    33import javax.swing.JMenuItem;
     4import javax.swing.JOptionPane;
    45
    56import org.openstreetmap.josm.Main;
     
    2425        pasteRelations = MainMenu.add(Main.main.menu.toolsMenu, new PasteRelationsAction());
    2526        alignWayNodes = MainMenu.add(Main.main.menu.toolsMenu, new AlignWayNodesAction());
     27
     28        if( Main.pref.getBoolean("dumbutils.up2warning", true) ) {
     29            JOptionPane.showMessageDialog(Main.parent,
     30                    "DumbUtils plugin functionality was moved to UtilsPlugin2.\nThis plugin is no longer supported.",
     31                    "DumbUtils Plugin", JOptionPane.WARNING_MESSAGE);
     32            Main.pref.put("dumbutils.up2warning", false);
     33        }
    2634    }
    2735
Note: See TracChangeset for help on using the changeset viewer.