Revision 9522 branches/piloto3d/extensions/extCatalogYNomenclator/src/es/gva/cit/gvsig/catalogClient/loaders/WFSLayerLoader.java
WFSLayerLoader.java | ||
---|---|---|
48 | 48 |
|
49 | 49 |
import com.iver.andami.PluginServices; |
50 | 50 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
51 |
import com.iver.cit.gvsig.project.documents.view.gui.View; |
|
51 |
import com.iver.cit.gvsig.project.documents.view.gui.BaseView;
|
|
52 | 52 |
import com.iver.utiles.extensionPoints.ExtensionPoint; |
53 | 53 |
import com.iver.utiles.extensionPoints.ExtensionPointsSingleton; |
54 | 54 |
|
... | ... | |
102 | 102 |
args.put("layer",layerName); |
103 | 103 |
args.put("user",""); |
104 | 104 |
args.put("pwd",""); |
105 |
View activeView = |
|
106 |
(View) PluginServices.getMDIManager().getActiveWindow(); |
|
105 |
BaseView activeView =
|
|
106 |
(BaseView) PluginServices.getMDIManager().getActiveWindow();
|
|
107 | 107 |
args.put("projection",activeView.getProjection().getAbrev()); |
108 | 108 |
try { |
109 | 109 |
return (FLayer)extensionPoint.create("OGC:WFS", args ); |
Also available in: Unified diff