Add methods to compute labels and tooltips for preview view