Changeset 13545 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java
- Timestamp:
- 2009-02-05T01:00:53+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java
r13497 r13545 64 64 * - minor fixes due to changes in JOSM core classes 65 65 * - first draft of raster image support 66 * 0.9 draft - grab vectorized full commune bbox and save it in cache 66 * 0.9 05-Feb-2009 - grab vectorized full commune bbox, save in file, convert to OSM way 67 * and simplify 67 68 */ 68 69 public class CadastrePlugin extends Plugin { … … 151 152 JMenuItem menuLambertZone = new JMenuItem(new MenuActionLambertZone()); 152 153 JMenuItem menuLoadFromCache = new JMenuItem(new MenuActionLoadFromCache()); 154 JMenuItem menuActionBoundaries = new JMenuItem(new MenuActionBoundaries()); 153 155 154 156 cadastreJMenu.add(menuGrab); … … 158 160 cadastreJMenu.add(menuLambertZone); 159 161 cadastreJMenu.add(menuLoadFromCache); 162 cadastreJMenu.add(menuActionBoundaries); 160 163 } 161 164 setEnabledAll(menuEnabled); … … 187 190 JMenuItem item = cadastreJMenu.getItem(i); 188 191 if (item != null) 189 if (item.getText().equals(MenuActionGrab.name)) 192 if (item.getText().equals(MenuActionGrab.name) || 193 item.getText().equals(MenuActionBoundaries.name)) { 190 194 item.setEnabled(isEnabled); 191 else if (item.getText().equals(MenuActionLambertZone.name)) 195 } else if (item.getText().equals(MenuActionLambertZone.name)) { 192 196 item.setEnabled(!isEnabled); 197 } 193 198 } 194 199 menuEnabled = isEnabled;
Note:
See TracChangeset
for help on using the changeset viewer.
