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, setUsedDecoratorspublic StructuredViewer.ColorAndFontCollectorWithProviders(IBaseLabelProvider provider)
provider - IBaseLabelProviderIColorProvider,
IFontProviderpublic void setFontsAndColors(Object element)
StructuredViewer.ColorAndFontCollectorsetFontsAndColors in class StructuredViewer.ColorAndFontCollectorelement - Objectpublic void applyFontsAndColors(TableItem control)
applyFontsAndColors in class StructuredViewer.ColorAndFontCollectorcontrol - public void applyFontsAndColors(TreeItem control)
StructuredViewer.ColorAndFontCollectorapplyFontsAndColors in class StructuredViewer.ColorAndFontCollectorpublic void applyFontsAndColors(TableTreeItem control)
StructuredViewer.ColorAndFontCollectorapplyFontsAndColors in class StructuredViewer.ColorAndFontCollectorGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.