SubProgressMonitor submonitor = new SubProgressMonitor(monitor, 5);
writeCommand.rollback(submonitor);
submonitor.done();
EditBlackboard bb = handler.getEditBlackboard(layer);
bb.clear();
for( EditGeom geom : geoms ) {
addGeom(bb, geom);
}
PrimitiveShape shell = addGeom(bb, shape.getEditGeom()).getShell();
handler.setCurrentShape(shell);