commands.addCommand(new SelectFeatureAsEditFeatureCommand(handler, feature,
handler.getEditLayer(), Point.valueOf(event.x, event.y)));
} else {
if (onlyAdd || keyboardModifierIndicatesAdd(handler, event)) {
// call SelectFeaturecommand so that it is the CurrentEditGeom
commands.addCommand(new SelectFeatureCommand(handler, feature, Point
.valueOf(event.x, event.y)));
} else {
// call SelectFeaturecommand so that it is just added to the EditBlackboard
// but
// not as the CurrentEditGeom
commands.addCommand(new SelectFeatureCommand(handler, feature, null));
}
}
} else {
EditPlugin.trace(EditPlugin.SELECTION,
"Feature is not one of the acceptable classes " + feature.getID(), null); //$NON-NLS-1$