Revision 42651 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.fmap.control/src/main/java/org/gvsig/fmap/mapcontrol/MapControlManager.java
MapControlManager.java | ||
---|---|---|
52 | 52 |
|
53 | 53 |
import java.util.Map; |
54 | 54 |
import java.util.prefs.Preferences; |
55 |
import javax.swing.tree.TreeModel; |
|
55 | 56 |
|
56 | 57 |
import org.gvsig.fmap.mapcontext.MapContext; |
58 |
import org.gvsig.fmap.mapcontext.layers.FLayers; |
|
57 | 59 |
import org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol; |
58 | 60 |
import org.gvsig.fmap.mapcontrol.swing.dynobject.LayersDynObjectSetComponent; |
59 | 61 |
import org.gvsig.fmap.mapcontrol.tools.snapping.snappers.ISnapper; |
... | ... | |
240 | 242 |
*/ |
241 | 243 |
public LayersDynObjectSetComponent createLayersDynObjectSetComponent( |
242 | 244 |
Map<String, DynObjectSet> layerName2InfoByPoint, boolean writable); |
245 |
|
|
246 |
/** |
|
247 |
* Create a TreeModel based in the MapControl's layers. |
|
248 |
* |
|
249 |
* @param mapContext |
|
250 |
* @return the TreeModel |
|
251 |
*/ |
|
252 |
public TreeModel createLayersTreeModel(MapContext mapContext); |
|
253 |
|
|
254 |
/** |
|
255 |
* Create a TreeModel based in the layers collection. |
|
256 |
* @param layers the layers collection to use for create the TreeModel |
|
257 |
* @return the TreeModel |
|
258 |
*/ |
|
259 |
public TreeModel createLayersTreeModel(FLayers layers); |
|
260 |
|
|
261 |
/** |
|
262 |
* Create a TreeModel based in the layers collection of all project's views. |
|
263 |
* @return the TreeModel |
|
264 |
*/ |
|
265 |
public TreeModel createCompoundLayersTreeModel(); |
|
266 |
|
|
243 | 267 |
} |
244 | 268 |
|
Also available in: Unified diff