Bug 315281 update copyrights for 3.6
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/StyledCellLabelProvider.java
cachedTextLayout = new TextLayout(display);
			cachedTextLayout.setOrientation(orientation);
		}
		return cachedTextLayout;
	}
	private boolean useColors(Event event) {
		return (event.detail & SWT.SELECTED) == 0
				|| (this.style & COLORS_ON_SELECTION) != 0;
	}
	private boolean drawFocus(Event event) {
		return (event.detail & SWT.FOCUSED) != 0
				&& (this.style & NO_FOCUS) == 0;
	}
	
	/**
	 * Prepares the given style range before it is applied to the label. This method makes sure that
	 * no colors are drawn when the element is selected.
	 * The current version of the {@link StyledCellLabelProvider} will also ignore all font settings on the
	 * style range. Clients can override.
	 * 
	 * @param styleRange
	 *               the style range to prepare. the style range element must not be modified
	 * @param applyColors
	 *               specifies if colors should be applied.
	 * @return
	 *               returns the style range to use on the label
	 */
	protected StyleRange prepareStyleRange(StyleRange styleRange, boolean applyColors) {