com.esri.adf.web.ags.data.edit.action
Class MergeFeatures
java.lang.Object
com.esri.adf.web.ags.data.edit.EditAction
com.esri.adf.web.ags.data.edit.action.MergeFeatures
- All Implemented Interfaces:
- Serializable
public class MergeFeatures
- extends EditAction
Merges the selected features to a new Feature.
SelectByExtent select = new SelectByExtent(EditUtil.toEnvelope(-2309712.539, -887434.291, -1023725.086, 411499.344, map
.getSpatialReference(), ctx));
select.setMaxCount(2);
MergeFeatures mergeFeatures = new MergeFeatures();
workspace.perform(context, select, mergeFeatures);
The feature may fire the following events:
PreFeatureStoreEvent
FeatureCreatedEvent
FeatureRemovedEvent
FeatureUnselectedEvent
- See Also:
- Serialized Form
Constructor Summary |
MergeFeatures()
Instantiates an object of MergeFeatures. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MergeFeatures
public MergeFeatures()
- Instantiates an object of MergeFeatures.
action
public void action(ActionContext context)
throws Exception
- Description copied from class:
EditAction
- Performs the action.
- Specified by:
action
in class EditAction
- Parameters:
context
- the action context.
- Throws:
Exception