Changeset 22041 in osm for applications


Ignore:
Timestamp:
2010-06-27T20:53:56+02:00 (14 years ago)
Author:
pieren
Message:

add addr feature

Location:
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreInterface.java

    r21877 r22041  
    497497            int j = input.indexOf(",", i+1);
    498498            String str = input.substring(i+1, j);
    499             @SuppressWarnings("unused")
    500499            double unknown_yet = tryParseDouble(str);
    501500            int j_ = input.indexOf(",", j+1);
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java

    r21191 r22041  
    197197            // temporary disabled:
    198198            //JMenuItem menuActionBoundaries = new JMenuItem(new MenuActionBoundaries());
    199             JMenuItem menuActionBuildings = new JMenuItem(new MenuActionBuildings());
     199            //JMenuItem menuActionBuildings = new JMenuItem(new MenuActionBuildings());
    200200
    201201            cadastreJMenu.add(menuGrab);
     
    205205            //cadastreJMenu.add(menuResetCookie); not required any more
    206206            //cadastreJMenu.add(menuLambertZone);
    207             if (Main.pref.getBoolean("cadastrewms.buildingsMenu", false))
    208                 cadastreJMenu.add(menuActionBuildings);
     207            //if (Main.pref.getBoolean("cadastrewms.buildingsMenu", false))
     208            //    cadastreJMenu.add(menuActionBuildings);
    209209            cadastreJMenu.add(menuLoadFromCache);
    210210            // all SVG features disabled until official WMS is released
     
    335335                setEnabledAll(true);
    336336                Main.map.addMapMode(new IconToggleButton(new WMSAdjustAction(Main.map)));
    337                 if (Main.pref.getBoolean("cadastrewms.buildingsMenu", false))
    338                     Main.map.addMapMode(new IconToggleButton(new Buildings(Main.map)));
     337                Main.map.addMapMode(new IconToggleButton(new Address(Main.map)));
    339338            } else if (oldFrame != null && newFrame == null) {
    340339                setEnabledAll(false);
Note: See TracChangeset for help on using the changeset viewer.