root / branches / v2_0_0_prep / extensions / extEditing / src / org / gvsig / editing / layers / FactoryLayerEdited.java @ 30335
History | View | Annotate | Download (406 Bytes)
1 |
package org.gvsig.editing.layers; |
---|---|
2 |
|
3 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
4 |
import org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect; |
5 |
import org.gvsig.fmap.mapcontrol.MapControl; |
6 |
|
7 |
public class FactoryLayerEdited { |
8 |
|
9 |
public static ILayerEdited createLayerEdited(FLayer lyr, MapControl mapCtrl) { |
10 |
if (lyr instanceof FLyrVect) |
11 |
return new VectorialLayerEdited(lyr, mapCtrl); |
12 |
return null; |
13 |
} |
14 |
|
15 |
} |