public class FeatureAddEntityAction extends Object implements CustomAction
| Constructor and Description |
|---|
FeatureAddEntityAction(MappingComponent mc,
Feature f,
com.vividsolutions.jts.geom.Polygon entity)
Creates a new FeatureAddEntityAction instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doAction()
adds the polygon.
|
boolean |
featureConcerned(Feature feature)
Checks, if the given feature is concerned from this action.
|
CustomAction |
getInverse()
Delivers the inverse action.
|
String |
info()
delivers the description of the action as string.
|
public FeatureAddEntityAction(MappingComponent mc, Feature f, com.vividsolutions.jts.geom.Polygon entity)
mc - the MappingComponent, the parent polygon is contained inf - the feature, the polygone should be added toentity - the new polygonpublic void doAction()
doAction in interface CustomActionpublic String info()
info in interface CustomActionpublic CustomAction getInverse()
getInverse in interface CustomActionpublic boolean featureConcerned(Feature feature)
CustomActionfeatureConcerned in interface CustomActionfeature - the feature that should be checkedCopyright © 2012–2026 cismet GmbH. All rights reserved.