code: public void onClick(MenuItemClickEvent event) {
  		if (feature != null && feature.isSelected()) {
  			SC.confirm(
  					I18nProvider.getGlobal().confirmDeleteFeature(feature.getLabel(), feature.getLayer().getLabel()),
  					new BooleanCallback() {
  
  						public void execute(Boolean value) {
  							if (value) {
  								feature.getLayer().deselectFeature(feature);
  								mapWidget.getMapModel().getFeatureEditor()
  										.startEditing(new Feature[] { feature }, null);
  								SaveEditingAction action = new SaveEditingAction(mapWidget, controller);
  								action.onClick(null);
  							}
  						}
  					});
  		}
  	}
docs: Prepare a FeatureTransaction for deletion of the selected feature, and ask if the user wants to continue. If
  he/she does, the feature will be deselected and then the FeatureTransaction will be committed.