Revision 13068 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/gui/FileOpenDialog.java
FileOpenDialog.java | ||
---|---|---|
67 | 67 |
import com.iver.andami.PluginServices; |
68 | 68 |
import com.iver.andami.messages.NotificationManager; |
69 | 69 |
import com.iver.cit.gvsig.fmap.crs.CRSFactory; |
70 |
import com.iver.cit.gvsig.fmap.drivers.RasterDriver; |
|
71 | 70 |
import com.iver.cit.gvsig.fmap.drivers.VectorialFileDriver; |
72 | 71 |
import com.iver.cit.gvsig.fmap.layers.LayerFactory; |
73 | 72 |
import com.iver.cit.gvsig.gui.panels.CRSSelectPanel; |
... | ... | |
218 | 217 |
return ((VectorialFileDriver) driver).accept(f); |
219 | 218 |
}else if (driver instanceof FileDriver){ |
220 | 219 |
return ((FileDriver) driver).fileAccepted(f); |
221 |
}else if (driver instanceof RasterDriver){ |
|
222 |
return ((RasterDriver) driver).fileAccepted(f); |
|
220 |
// }else if (driver instanceof RasterDriver){
|
|
221 |
// return ((RasterDriver) driver).fileAccepted(f);
|
|
223 | 222 |
}else{ |
224 | 223 |
throw new RuntimeException("Tipo no reconocido"); |
225 | 224 |
} |
Also available in: Unified diff