PrimitiveShape newShape = findOnBlackboard(handler, e);
if (newShape != null && newShape != handler.getCurrentShape()) {
List<UndoableMapCommand> commands = new ArrayList<UndoableMapCommand>();
commands.add(new SetCurrentGeomCommand(handler, newShape));
commands.add(new SetEditFeatureCommand(handler, Point.valueOf(e.x, e.y), newShape));
UndoableComposite undoableComposite = new UndoableComposite(commands);
return undoableComposite;
}
SelectionParameter selectionParameter = new SelectionParameter(handler, e, getAcceptableClasses(), filterType, permitClear, onlyAdd);