protected class StructuredViewer.ColorAndFontCollectorWithProviders extends StructuredViewer.ColorAndFontCollector
IColorDecorator
,
IFontDecorator
,
IColorProvider
,
IFontProvider
,
IDecoration
Constructor and Description |
---|
StructuredViewer.ColorAndFontCollectorWithProviders(IBaseLabelProvider provider)
Create a new instance of the receiver using the supplied
label provider.
|
Modifier and Type | Method and Description |
---|---|
void |
applyFontsAndColors(TableItem control)
Apply the fonts and colors to the control if
required.
|
void |
applyFontsAndColors(TableTreeItem control)
Apply the fonts and colors to the control if
required.
|
void |
applyFontsAndColors(TreeItem control)
Apply the fonts and colors to the control if
required.
|
void |
setFontsAndColors(Object element)
Set the initial fonts and colors for the element from the
content providers.
|
clear, setBackground, setFont, setForeground, setUsedDecorators
public StructuredViewer.ColorAndFontCollectorWithProviders(IBaseLabelProvider provider)
provider
- IBaseLabelProviderIColorProvider
,
IFontProvider
public void setFontsAndColors(Object element)
StructuredViewer.ColorAndFontCollector
setFontsAndColors
in class StructuredViewer.ColorAndFontCollector
element
- Objectpublic void applyFontsAndColors(TableItem control)
StructuredViewer.ColorAndFontCollector
applyFontsAndColors
in class StructuredViewer.ColorAndFontCollector
public void applyFontsAndColors(TreeItem control)
StructuredViewer.ColorAndFontCollector
applyFontsAndColors
in class StructuredViewer.ColorAndFontCollector
public void applyFontsAndColors(TableTreeItem control)
StructuredViewer.ColorAndFontCollector
applyFontsAndColors
in class StructuredViewer.ColorAndFontCollector
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.