org.deegree.portal.context
Class MapModel
java.lang.Object
  
org.deegree.portal.context.MapModel
public class MapModel
- extends Object
 
TODO add class documentation here
- Version:
 
  - $Revision: 21671 $, $Date: 2009-12-29 09:43:44 +0100 (Tue, 29 Dec 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(List<LayerGroup> layerGroups)
- Parameters:
 layerGroups - 
 
getLayerGroups
public List<LayerGroup> getLayerGroups()
- Returns:
 - the layerGroups
 
 
getLayersSelectedForAction
public List<MMLayer> getLayersSelectedForAction(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 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:
 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 Exception
- Parameters:
 visitor - 
- Throws:
 Exception
 
getMapModelEntryByIdentifier
public MapModelEntry getMapModelEntryByIdentifier(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