org.deegree.portal.context
Class MapModel
java.lang.Object
org.deegree.portal.context.MapModel
public class MapModel
- extends java.lang.Object
TODO add class documentation here
- Version:
- $Revision: 21671 $, $Date: 2009-12-29 09:43:44 +0100 (Di, 29 Dez 2009) $
- Author:
- Andreas Poth, last edited by: $Author: apoth $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapModel
public MapModel()
setLayerGroups
public void setLayerGroups(java.util.List<LayerGroup> layerGroups)
- Parameters:
layerGroups
-
getLayerGroups
public java.util.List<LayerGroup> getLayerGroups()
- Returns:
- the layerGroups
getLayersSelectedForAction
public java.util.List<MMLayer> getLayersSelectedForAction(java.lang.String action)
- Parameters:
action
-
- Returns:
- list of
Layer
selected for the passed action
insert
public void insert(MapModelEntry mapModelEntry,
LayerGroup parent,
MapModelEntry antecessor,
boolean first)
throws java.lang.Exception
- Parameters:
mapModelEntry
- MapModelEntry
to be insertedparent
- if null
root node of layertree will be used as parentantecessor
- if null
layer will be inserted directly underneath its parentfirst
- if true layer will be inserted as first layer of a group if antecessor == null
- Throws:
java.lang.Exception
move
public void move(MapModelEntry mapModelEntry,
LayerGroup parent,
MapModelEntry antecessor,
boolean first)
- moves the passed layer underneath a new parent and before the passed antecessor.
- Parameters:
mapModelEntry
- parent
- if null
root node of layer tree will be used as parentantecessor
- if null
layer will be inserted directly underneath its parentfirst
-
walkLayerTree
public void walkLayerTree(MapModelVisitor visitor)
throws java.lang.Exception
- Parameters:
visitor
-
- Throws:
java.lang.Exception
getMapModelEntryByIdentifier
public MapModelEntry getMapModelEntryByIdentifier(java.lang.String identifier)
- Parameters:
identifier
-
- Returns:
MapModelEntry
matching passed identifier
remove
public void remove(MapModelEntry mapModelEntry)
- Parameters:
mapModelEntry
- MapModelEntry
to remove
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org