Class ProjectTagsColorsComponent
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.color.AbstractColorsComponent
org.ametys.web.color.AbstractSkinColorsComponent
org.ametys.plugins.workspaces.tags.ProjectTagsColorsComponent
- All Implemented Interfaces:
LogEnabled
,Initializable
,Component
,Configurable
,Contextualizable
,Serviceable
Component listing the available colors for a project tag
First getting colors in skin://conf/project-tags-colors.xml
If not, getting colors in /WEB-INF/param/project-tags-colors.xml
If not, getting default colors in plugin.xml
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.web.color.AbstractSkinColorsComponent
AbstractSkinColorsComponent.ColorFileReloader
Nested classes/interfaces inherited from class org.ametys.cms.color.AbstractColorsComponent
AbstractColorsComponent.ColorsDefinition
-
Field Summary
Fields inherited from class org.ametys.web.color.AbstractSkinColorsComponent
_cacheManager, _context, _fileReloaderUtils, _siteManager, _sourceResolver, COLOR_SKIN_CACHE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.web.color.AbstractSkinColorsComponent
_getColorsFromSkin, _getDefaultKeyFromSkin, contextualize, getColors, getColors, getDefaultKey, getDefaultKey, initialize, service
Methods inherited from class org.ametys.cms.color.AbstractColorsComponent
configure, getColorCSSClassPrefix, parseColors
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The component role
-
-
Constructor Details
-
ProjectTagsColorsComponent
public ProjectTagsColorsComponent()
-
-
Method Details
-
_getColorSkinFilePath
Description copied from class:AbstractSkinColorsComponent
Add the color file path- Specified by:
_getColorSkinFilePath
in classAbstractSkinColorsComponent
- Returns:
- the color file path
-