diff options
Diffstat (limited to 'bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ITableFontProvider.java')
-rw-r--r-- | bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ITableFontProvider.java | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ITableFontProvider.java b/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ITableFontProvider.java index 03cd53cee5e..859a87869a6 100644 --- a/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ITableFontProvider.java +++ b/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ITableFontProvider.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2005 IBM Corporation and others. + * Copyright (c) 2004, 2013 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,18 +7,20 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Hendrik Still <hendrik.still@gammas.de> - bug 415561 *******************************************************************************/ package org.eclipse.jface.viewers; import org.eclipse.swt.graphics.Font; /** - * The ITableFontProvider is a font provider that provides fonts to + * The ITableFontProvider is a font provider that provides fonts to * individual cells within tables. + * @param <E> Type of an single element of the model * @since 3.1 */ -public interface ITableFontProvider { - +public interface ITableFontProvider<E> { + /** * Provides a font for the given element at index * columnIndex. @@ -26,6 +28,6 @@ public interface ITableFontProvider { * @param columnIndex The index of the column being displayed * @return Font */ - public Font getFont(Object element, int columnIndex); + public Font getFont(E element, int columnIndex); } |