} else if (bo instanceof Pool) {
if(context.getProperty("org.activiti.designer.lane.create") == null) {
Bpmn2MemoryModel model = ModelHandler.getModel(EcoreUtil.getURI(getDiagram()));
Pool pool = (Pool) bo;
Process process = model.getBpmnModel().getProcess(pool.getId());
if (process != null) {
int deltaLaneHeight = deltaHeight / process.getLanes().size();
List<Lane> sortedLanes = sortLanesByHorizontalOrder(process.getLanes());
int yShift = 0;
for (Lane lane : sortedLanes) {