Revision 323

View differences:

org.gvsig.vectorediting/trunk/org.gvsig.vectorediting/org.gvsig.vectorediting.swing/org.gvsig.vectorediting.swing.impl/src/main/java/org/gvsig/vectorediting/swing/impl/DefaultEditingContext.java
179 179

  
180 180
                EditingService service =
181 181
                    manager.getEditingService(name,
182
                        currentLayer.getFeatureStore());
182
                        currentLayer.getFeatureStore(), mapContext);
183 183

  
184 184
                if (service != null) {
185 185

  
......
624 624
    }
625 625

  
626 626
    public MapControl getMapControl() {
627
        MapControl mapControl = mapControlReference.get();
628
        if (mapControl != null) {
629
            return mapControl;
630
        }
631
        return null;
627
        return mapControlReference.get();
632 628
    }
633 629

  
634 630
    protected void getNextParameter() {

Also available in: Unified diff