Package com._1c.g5.v8.dt.md
Interface IColorProvider
-
public interface IColorProvider
This is a class that provides map of predefined and (or) users colors.
It provides#getStyleColors()
,#getWebColors()
,#getSystemColors()
and#getAllStyleColors()
methods. The methods return a collection of color aliases. Such an alias may be fed to get aColor
object associated with it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Color>
getStyleColors(Version version)
Retrieves color aliases that pertain to "Style" color group.Map<String,Color>
getStyleItemColors(org.eclipse.core.resources.IProject project)
Retrieves color aliases that pertain to "Style" color group and defined inStyleElementType.COLOR
typeStyleItem
s.Map<String,Color>
getSystemColors(Version version)
Retrieves color aliases that pertain to "System" color group.Map<String,Color>
getWebColors(Version version)
Retrieves color aliases that pertain to "Web" color group.
-
-
-
Method Detail
-
getStyleColors
Map<String,Color> getStyleColors(Version version)
Retrieves color aliases that pertain to "Style" color group.- Parameters:
version
- , the version, cannot benull
- Returns:
- map of color aliases
-
getStyleItemColors
Map<String,Color> getStyleItemColors(org.eclipse.core.resources.IProject project)
Retrieves color aliases that pertain to "Style" color group and defined inStyleElementType.COLOR
typeStyleItem
s.- Parameters:
project
- , the project, cannot benull
- Returns:
- map of color aliases, defined in color type style items.
-
getSystemColors
Map<String,Color> getSystemColors(Version version)
Retrieves color aliases that pertain to "System" color group.- Parameters:
version
- , the version, cannot benull
- Returns:
- map of color aliases
-
-