org.eclipse.ui.themes
Interface IColorFactory
-
All Known Implementing Classes:
-
RGBBlendColorFactory
-
public interface IColorFactory
A factory interface that may be used to specify a color value. This is
(optionally) used by the themes extension point for color value
definitions.
Example usage:
<colorDefinition
label="Custom Color"
id="example.customColor"
colorFactory="some.implementor.of.IColorFactory">
</colorDefinition>
-
Since:
- 3.0
createColor
RGB createColor()
- Create a new color.
-
-
Returns:
- a new color. This must never be
null
.
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.