Bug 257919 [Viewers] OwnerDraw: Open type doesn't display the selected type
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/StyledCellLabelProvider.java
Rectangle bounds = image.getBounds();
	
				
				int x = imageBounds.x
						+ Math.max(0, (imageBounds.width - bounds.width) / 2);
				int y = imageBounds.y
						+ Math.max(0, (imageBounds.height - bounds.height) / 2);
				gc.drawImage(image, x, y);
			}
		}
		Rectangle textBounds = cell.getTextBounds();
		if (textBounds != null) {
			TextLayout textLayout= getSharedTextLayout(event.display);
			
			if (event.item != itemOfLastMeasure) {
				
				deltaOfLastMeasure = updateTextLayout(textLayout, cell, applyColors);
				itemOfLastMeasure = event.item;
			}
			
			
			
			if (!applyColors) {
				
				StyleRange[] styleRanges= cell.getStyleRanges();
				if (styleRanges != null) {
					for (int i= 0; i < styleRanges.length; i++) {
						StyleRange curr = prepareStyleRange(styleRanges[i], applyColors);
						textLayout.setStyle(curr, curr.start, curr.start + curr.length - 1);
					}