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

java.lang.Object
  extended by nl.cloudfarming.client.model.DataProviderImpl
      extended by nl.cloudfarming.client.area.field.shape.ImportDataProvider
All Implemented Interfaces:
BeanService, DataProvider, org.openide.explorer.ExplorerManager.Provider, org.openide.util.Lookup.Provider

public class ImportDataProvider
extends DataProviderImpl

Author:
Timon Veenstra

Constructor Summary
ImportDataProvider(ShapeFile plotFile)
           
 
Method Summary
 void addShape(Shape shape)
          add a shape to the list of managed shapes
 org.openide.nodes.Node getLayerNode()
          get the import layer containing the imported shapes
 List<Shape> getShapes()
          get the list with managed shapes
protected  void initExplorer()
           
 void save(Bean bean)
           
 
Methods inherited from class nl.cloudfarming.client.model.DataProviderImpl
addBeanToSelection, addSaveCookie, findNodeForBean, getExplorerManager, getLookup, getUndoredoManager, removeBeanFromSelection, removeSaveCookie, setExplorerManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportDataProvider

public ImportDataProvider(ShapeFile plotFile)
Method Detail

initExplorer

protected final void initExplorer()
Specified by:
initExplorer in class DataProviderImpl

save

public void save(Bean bean)

getLayerNode

public org.openide.nodes.Node getLayerNode()
get the import layer containing the imported shapes

Returns:
import layer

getShapes

public List<Shape> getShapes()
get the list with managed shapes

Returns:

addShape

public void addShape(Shape shape)
add a shape to the list of managed shapes

Parameters:
shape -


Copyright © 2011. All Rights Reserved.