com.esri.adf.web.ags.data.edit.action
Class RemoveFeature
java.lang.Object
com.esri.adf.web.ags.data.edit.EditAction
com.esri.adf.web.ags.data.edit.action.RemoveFeature
- All Implemented Interfaces:
- Serializable
public class RemoveFeature
- extends EditAction
Removes the selected features.
SelectByExtent action = new SelectByExtent(env);
action.setMaxCount(1);
RemoveFeature remove = new RemoveFeature();
workspace.perform(context, action, remove);
The feature may fire the following event:
FeatureRemovedEvent
FeatureUnselectedEvent
- See Also:
- Serialized Form
Constructor Summary |
RemoveFeature()
Instantiates an object of RemoveFeature. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveFeature
public RemoveFeature()
- Instantiates an object of RemoveFeature.
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