Package org.esa.snap.core.datamodel
Class PlacemarkGroup
- All Implemented Interfaces:
Extensible
-
Field Summary
Fields inherited from class org.esa.snap.core.datamodel.ProductNode
PROPERTY_NAME_DESCRIPTION, PROPERTY_NAME_NAME
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the given node to this group.boolean
Adds the given node to this group.void
dispose()
Releases all of the resources used by this object instance and all of its owned children.final Placemark
getPlacemark
(org.opengis.feature.simple.SimpleFeature feature) boolean
Removes the given node from this group.Methods inherited from class org.esa.snap.core.datamodel.ProductNodeGroup
acceptVisitor, clearRemovedList, contains, contains, get, get, getByDisplayName, getNodeCount, getNodeDisplayNames, getNodeNames, getRawStorageSize, getRemovedNodes, indexOf, indexOf, isTakingOverNodeOwnership, removeAll, setModified, toArray, toArray, updateExpression
Methods inherited from class org.esa.snap.core.datamodel.ProductNode
fireProductNodeChanged, fireProductNodeChanged, getDescription, getDisplayName, getName, getOwner, getProduct, getProductReader, getProductReaderSafe, getProductRefString, getProductSafe, getProductWriter, getProductWriterSafe, getRawStorageSize, isModified, isPartOfSubset, isValidNodeName, removeFromFile, setDescription, setName, setNodeName, setOwner, toString
Methods inherited from class com.bc.ceres.core.ExtensibleObject
getExtension
-
Method Details
-
getVectorDataNode
-
getPlacemark
-
add
Description copied from class:ProductNodeGroup
Adds the given node to this group.- Overrides:
add
in classProductNodeGroup<Placemark>
- Parameters:
placemark
- the node to be added, ignored ifnull
- Returns:
- true, if the node has been added
-
add
Description copied from class:ProductNodeGroup
Adds the given node to this group.- Overrides:
add
in classProductNodeGroup<Placemark>
- Parameters:
index
- the index.placemark
- the node to be added, ignored ifnull
-
remove
Description copied from class:ProductNodeGroup
Removes the given node from this group.- Overrides:
remove
in classProductNodeGroup<Placemark>
- Parameters:
placemark
- the node to be removed- Returns:
- true, if the node was removed
-
dispose
public void dispose()Description copied from class:ProductNode
Releases all of the resources used by this object instance and all of its owned children. Its primary use is to allow the garbage collector to perform a vanilla job.This method should be called only if it is for sure that this object instance will never be used again. The results of referencing an instance of this class after a call to
dispose()
are undefined.Overrides of this method should always call
super.dispose();
after disposing this instance.- Overrides:
dispose
in classProductNodeGroup<Placemark>
-