// popup);
// commands.add(newFeatureCommand);
// }
} else {
// not creating it so don't need to set it.
UndoableMapCommand setGeometryCommand = new SetGeometryCommand(editGeom
.getFeatureIDRef().get(), new StaticBlockingProvider<ILayer>(layer),
SetGeometryCommand.DEFAULT, geom);
commands.add(setGeometryCommand);
}
} else {