}
private CompositeCommand deleteManyFeatures( Id filter ) {
CompositeCommand composite=new CompositeCommand();
composite.setName(Messages.TableView_compositeName);
composite.getCommands().add(new SetEditingFlag(true));
composite.getCommands().add(new DeleteManyFeaturesCommand(layer,filter));
composite.getCommands().add(new DeleteFromTableCommand(layer));
composite.getFinalizerCommands().add(new SetEditingFlag(false));
return composite;
}