nl.cloudfarming.client.area.field.shape
Class ImportLayer

java.lang.Object
  extended by nl.cloudfarming.client.geoviewer.BaseLayer
      extended by nl.cloudfarming.client.area.field.shape.ImportLayer
All Implemented Interfaces:
PropertyChangeListener, EventListener, Layer

public class ImportLayer
extends BaseLayer

The importLayer containes shapes from an imported shapefile. The layername is based on the filename of the imported shapefile and so it is intended that each imported shapefile gets placed on a separate layer. The importlayer defines actions for (for example but not exclusive) saving the shapes to more permanent layers.

Author:
Timon Veenstra

Nested Class Summary
 
Nested classes/interfaces inherited from interface nl.cloudfarming.client.geoviewer.Layer
Layer.SelectionChangeDirection, Layer.Sync
 
Field Summary
 
Fields inherited from interface nl.cloudfarming.client.geoviewer.Layer
LAYER_NODE_ICON_BASE, PROP_CATEGORY, PROP_NAME, PROP_PALETTE
 
Constructor Summary
ImportLayer(ShapeFile shapeFile, ImportDataProvider dataProvider)
           
 
Method Summary
 LayerAction[] getActions()
           
 ShapeFile getShapeFile()
          Return the shapeFile represented by this importlayer
 
Methods inherited from class nl.cloudfarming.client.geoviewer.BaseLayer
addPropertyChangeListener, addPropertyChangeListener, fireNodeSelectionChange, getActiveChangeDirection, getCategory, getChangeSupport, getName, getPalette, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setPalette
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportLayer

public ImportLayer(ShapeFile shapeFile,
                   ImportDataProvider dataProvider)
Method Detail

getShapeFile

public final ShapeFile getShapeFile()
Return the shapeFile represented by this importlayer

Returns:
The shapeFile represented by this importlayer

getActions

public LayerAction[] getActions()
Specified by:
getActions in interface Layer
Overrides:
getActions in class BaseLayer


Copyright © 2011. All Rights Reserved.