Revision 47294
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.api/src/main/java/org/gvsig/fmap/mapcontext/MapContext.java | ||
---|---|---|
86 | 86 |
import org.gvsig.timesupport.TimeSupportLocator; |
87 | 87 |
import org.gvsig.timesupport.TimeSupportManager; |
88 | 88 |
import org.gvsig.tools.ToolsLocator; |
89 |
import org.gvsig.tools.dispose.Disposable; |
|
90 |
import org.gvsig.tools.dispose.DisposeUtils; |
|
89 | 91 |
import org.gvsig.tools.dispose.impl.AbstractDisposable; |
90 | 92 |
import org.gvsig.tools.dynobject.DynStruct; |
91 | 93 |
import org.gvsig.tools.exception.BaseException; |
... | ... | |
821 | 823 |
public MapContext createNewFMap(ViewPort vp) { |
822 | 824 |
MapContext ret = new MapContext(vp); |
823 | 825 |
ret.layers = this.layers; |
824 |
|
|
826 |
DisposeUtils.bind((Disposable)ret.layers); |
|
827 |
DisposeUtils.bind((List)ret.layers); |
|
828 |
|
|
825 | 829 |
return ret; |
826 | 830 |
} |
827 | 831 |
|
Also available in: Unified diff