Package org.openstreetmap.josm.data.Preferences

Examples of org.openstreetmap.josm.data.Preferences.MapListSetting.equalVal()


            MapListSetting mlSetting = (MapListSetting) stg;
            MapListEditor mlEditor = new MapListEditor(gui, e, mlSetting);
            mlEditor.showDialog();
            if (mlEditor.getValue() == 1) {
                List<Map<String, String>> data = mlEditor.getData();
                if (!mlSetting.equalVal(data)) {
                    e.setValue(new MapListSetting(data));
                    return true;
                }
            }
        }
View Full Code Here


                pe = new PrefEntry(tkey.getText(), mlSetting, mlSetting, false);
                MapListEditor mlEditor = new MapListEditor(gui, pe, mlSetting);
                mlEditor.showDialog();
                if (mlEditor.getValue() == 1) {
                    List<Map<String, String>> data = mlEditor.getData();
                    if (!mlSetting.equalVal(data)) {
                        pe.setValue(new MapListSetting(data));
                        ok = true;
                    }
                }
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.