public void run( IProgressMonitor monitor, UndoableComposite commands,
SelectionParameter parameters, SimpleFeature feature, boolean firstFeature ) {
EditToolHandler handler = parameters.handler;
Class< ? extends Geometry>[] acceptableClasses = parameters.acceptableClasses;
boolean onlyAdd = parameters.onlyAdd;
MapMouseEvent event = parameters.event;
for( Class< ? extends Geometry> clazz : acceptableClasses ) {
if (clazz.isAssignableFrom(feature.getDefaultGeometry().getClass())) {
EditPlugin.trace(EditPlugin.SELECTION,
"Feature is one of the acceptable classes " + feature.getID(), null); //$NON-NLS-1$