//Only if it as a usual layer's renderer
ILabelPainter labelPainter = getContext().getLabelPainter();
String layerId = renderingLayer.getID().toString();
if (getContext().getLayer() instanceof SelectionLayer)
layerId = layerId + "-Selection"; //$NON-NLS-1$
labelPainter.clear(layerId);
}
} catch (Exception exc) {
exc.printStackTrace();
}