}
// else if it is an edge, DeleteConnectionCommand is called
else if (childEditPart instanceof ChsEdgeEditPart)
{
{
DeleteConnectionCommand command
= new DeleteConnectionCommand();
command.setConnectionModel(childEditPart.getModel());
command.execute();
}
}
}
}