Revision 36220 branches/v2_0_0_prep/libraries/org.gvsig.newlayer/org.gvsig.newlayer.lib/org.gvsig.newlayer.lib.impl/src/main/java/org/gvsig/newlayer/impl/DefaultNewLayerManager.java

View differences:

DefaultNewLayerManager.java
29 29

  
30 30
import javax.swing.ImageIcon;
31 31

  
32
import org.gvsig.fmap.mapcontext.MapContext;
32 33
import org.gvsig.newlayer.NewLayerManager;
33 34
import org.gvsig.newlayer.NewLayerProviderFactory;
34 35
import org.gvsig.newlayer.NewLayerService;
......
54 55
	final static private String EP_NEWLAYER_NAME = "NewLayer.manager.providers";
55 56
	final static private String EP_NEWLAYER_DESCRIPTION = "NewLayer providers";    
56 57
    
57
	public NewLayerService createNewLayerService() {
58
		return new DefaultNewLayerService(this);
58
	public NewLayerService createNewLayerService(MapContext mapContext) {
59
		return new DefaultNewLayerService(this, mapContext);
59 60
	}
60 61

  
61 62
	public void registerProvider(NewLayerProviderFactory factory) {

Also available in: Unified diff