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

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

public class ImportDataProvider
extends CommonModelService

Author:
Timon Veenstra

Constructor Summary
ImportDataProvider(FieldFile plotFile)
           
 
Method Summary
 void addShape(Shape shape)
          add a shape to the list of managed shapes
 ImportLayer getLayer()
          get the import layer containing the imported shapes
protected  String getModuleName()
           
 Set<Shape> getShapes()
          get the list with managed shapes
protected  void initExplorer()
           
 void save(Bean bean)
           
 
Methods inherited from class nl.cloudfarming.client.model.CommonModelService
addPropertyChangeListener, addPropertyChangeListener, commit, createPartField, createPartField, findAllFieldPlans, findAllFields, flush, getEntityManager, getPropertyChangeSupport, merge, mergeAndPersistInTransaction, persistInTransaction, remove, removePropertyChangeListener, removePropertyChangeListener, startTransaction
 
Methods inherited from class nl.cloudfarming.client.model.DataProvider
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(FieldFile plotFile)
Method Detail

initExplorer

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

getModuleName

protected String getModuleName()
Specified by:
getModuleName in class CommonModelService

save

public void save(Bean bean)
Specified by:
save in interface BeanService
Overrides:
save in class CommonModelService

getLayer

public ImportLayer getLayer()
get the import layer containing the imported shapes

Returns:
import layer

getShapes

public Set<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.