Changeset 20824 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionLoadFromCache.java
- Timestamp:
- 2010-04-07T19:53:12+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionLoadFromCache.java
r19928 r20824 13 13 import org.openstreetmap.josm.data.projection.Lambert; 14 14 import org.openstreetmap.josm.data.projection.LambertCC9Zones; 15 import org.openstreetmap.josm.data.projection.UTM_ 20N_France_DOM;15 import org.openstreetmap.josm.data.projection.UTM_France_DOM; 16 16 import org.openstreetmap.josm.gui.layer.Layer; 17 17 … … 40 40 !(Main.proj instanceof LambertCC9Zones)) 41 41 || (ext.length() == 4 && ext.substring(0, CacheControl.cUTM20N.length()).equals(CacheControl.cUTM20N) && 42 !(Main.proj instanceof UTM_ 20N_France_DOM))42 !(Main.proj instanceof UTM_France_DOM)) 43 43 || (ext.length() == 1) && !(Main.proj instanceof Lambert)) { 44 44 JOptionPane.showMessageDialog(Main.parent, tr("{0} not allowed with the current projection", filename), tr("Error"), JOptionPane.ERROR_MESSAGE); … … 93 93 else if (Main.proj instanceof LambertCC9Zones) 94 94 fc.addChoosableFileFilter(CacheFileLambert9ZoneFilter.filters[layoutZone]); 95 else if (Main.proj instanceof UTM_ 20N_France_DOM)95 else if (Main.proj instanceof UTM_France_DOM) 96 96 fc.addChoosableFileFilter(CacheFileUTM20NFilter.filters[layoutZone]); 97 97 } … … 111 111 else if (Main.proj instanceof Lambert) 112 112 zone = ((Lambert)Main.proj).getLayoutZone(); 113 else if (Main.proj instanceof UTM_ 20N_France_DOM)114 zone = ((UTM_ 20N_France_DOM)Main.proj).getCurrentGeodesic();113 else if (Main.proj instanceof UTM_France_DOM) 114 zone = ((UTM_France_DOM)Main.proj).getCurrentGeodesic(); 115 115 return zone; 116 116 }
Note:
See TracChangeset
for help on using the changeset viewer.
