FeatureSupport.redraw(context.getTargetContainer());
}
private void modifyModelStructure(Lane targetLane, Lane lane) {
LaneSet laneSet = (LaneSet) lane.eContainer();
laneSet.getLanes().remove(lane);
if (laneSet.getLanes().size() == 0) {
EObject container = laneSet.eContainer();
if (container instanceof Process) {
Process p = (Process) container;
p.getLaneSets().remove(laneSet);
}
}
if (targetLane.getChildLaneSet() == null) {
LaneSet createLaneSet = ModelHandler.FACTORY.createLaneSet();
// createLaneSet.setId(EcoreUtil.generateUUID());
targetLane.setChildLaneSet(createLaneSet);
ModelUtil.setID(createLaneSet);
}