Revision 43891 branches/org.gvsig.desktop-2018a/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/gui/WizardPanel.java
WizardPanel.java | ||
---|---|---|
43 | 43 |
import org.gvsig.fmap.mapcontext.MapContext; |
44 | 44 |
import org.gvsig.fmap.mapcontext.MapContextLocator; |
45 | 45 |
import org.gvsig.fmap.mapcontext.MapContextManager; |
46 |
import org.gvsig.fmap.mapcontext.MapContextManager.CreateLayerParameters; |
|
46 | 47 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
47 | 48 |
import org.gvsig.fmap.mapcontrol.MapControl; |
48 | 49 |
import org.gvsig.fmap.mapcontrol.MapControlCreationException; |
... | ... | |
197 | 198 |
} |
198 | 199 |
|
199 | 200 |
protected void doAddLayer( |
200 |
final String layerName, final DataStoreParameters parameters) {
|
|
201 |
final String layerName, final CreateLayerParameters layerParameters) {
|
|
201 | 202 |
final boolean b_isMapControlAvail = this.isMapControlAvailable(); |
202 | 203 |
final MapControl mapControl = this.getMapCtrl(); |
203 | 204 |
final MapContext mapContext = this.getMapContext(); |
... | ... | |
205 | 206 |
final MapContextManager manager |
206 | 207 |
= MapContextLocator.getMapContextManager(); |
207 | 208 |
|
209 |
final DataStoreParameters parameters = layerParameters.getDataParameters(); |
|
210 |
|
|
208 | 211 |
logger.info("addLayer('{}',...)", layerName); |
209 | 212 |
Thread task = new Thread(new Runnable() { |
210 | 213 |
|
... | ... | |
308 | 311 |
* creating the panel from the AddLayer extension. |
309 | 312 |
*/ |
310 | 313 |
protected void doAddLayer(final MapControl mapControl, |
311 |
final String layerName, final DataStoreParameters parameters) {
|
|
314 |
final String layerName, final CreateLayerParameters parameters) {
|
|
312 | 315 |
this.setMapCtrl(mapControl); |
313 | 316 |
doAddLayer(layerName, parameters); |
314 | 317 |
} |
Also available in: Unified diff