nl.cloudfarming.client.area.field.shape
Class ImportDataProvider
java.lang.Object
nl.cloudfarming.client.model.DataProvider
nl.cloudfarming.client.model.CommonModelService
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
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportDataProvider
public ImportDataProvider(FieldFile plotFile)
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.