public interface ITableColorProvider
Modifier and Type | Method and Description |
---|---|
Color |
getBackground(Object element,
int columnIndex)
Provides a background color for the given element at the specified index
|
Color |
getForeground(Object element,
int columnIndex)
Provides a foreground color for the given element.
|
Color getForeground(Object element, int columnIndex)
element
- the elementcolumnIndex
- the zero-based index of the column in which
the color appearsnull
to
use the default foreground colorColor getBackground(Object element, int columnIndex)
element
- the elementcolumnIndex
- the zero-based index of the column in which the color appearsnull
to
use the default background color
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.