Revision 7659 trunk/extensions/extPublish/src/com/iver/cit/gvsig/publish/layers/LayerLoader.java
LayerLoader.java | ||
---|---|---|
8 | 8 |
|
9 | 9 |
import com.iver.andami.PluginServices; |
10 | 10 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
11 |
import com.iver.cit.gvsig.project.documents.view.gui.View; |
|
11 | 12 |
import com.iver.cit.gvsig.publish.Servers; |
12 | 13 |
import com.iver.utiles.extensionPoints.ExtensionPoint; |
13 | 14 |
import com.iver.utiles.extensionPoints.ExtensionPointsSingleton; |
... | ... | |
57 | 58 |
* |
58 | 59 |
* $Id$ |
59 | 60 |
* $Log$ |
60 |
* Revision 1.3 2006-09-19 00:30:31 luisw2 |
|
61 |
* Revision 1.4 2006-09-28 15:04:02 fjp |
|
62 |
* Usar siempre que se pueda ISymbol en lugar de FSymbol |
|
63 |
* |
|
64 |
* Revision 1.3 2006/09/19 00:30:31 luisw2 |
|
61 | 65 |
* Soporte para WCS en mapserver. Pendiente de verificar que va |
62 | 66 |
* |
63 | 67 |
* Revision 1.2 2006/09/08 12:50:20 jorpiell |
... | ... | |
98 | 102 |
} |
99 | 103 |
|
100 | 104 |
private static void loadLayer(FLayer layer){ |
101 |
com.iver.cit.gvsig.gui.View theView =
|
|
102 |
(com.iver.cit.gvsig.gui.View) PluginServices.getMDIManager().getActiveWindow();
|
|
105 |
View theView = |
|
106 |
(View) PluginServices.getMDIManager().getActiveWindow(); |
|
103 | 107 |
|
104 | 108 |
theView.getMapControl().getMapContext().beginAtomicEvent(); |
105 | 109 |
theView.getMapControl().getMapContext().getLayers().addLayer(layer); |
Also available in: Unified diff