org.nuxeo.theme.styling.service
Interface ThemeStylingService
- All Known Implementing Classes:
- ThemeStylingServiceImpl
public interface ThemeStylingService
Service handling the mapping between a theme page and its resources (styling
and flavors)
Registers corresponding contributions to the ThemeService
so that
styling of the page is handled as if styling was provided by the theme
definition. Also handles related flavors as theme collections.
- Since:
- 5.4.3
FLAVOR_MARKER
static final String FLAVOR_MARKER
- See Also:
- Constant Field Values
PAGE_STYLE_CLASS_NAME_PREFIX
static final String PAGE_STYLE_CLASS_NAME_PREFIX
- See Also:
- Constant Field Values
PAGE_STYLE_NAME_SUFFIX
static final String PAGE_STYLE_NAME_SUFFIX
- See Also:
- Constant Field Values
getDefaultFlavor
String getDefaultFlavor(String themePage)
- Returns the default flavor for a given theme page
themeRegistered
void themeRegistered(String themeName)
- Hook to notify the service that a theme has been registered
- Parameters:
themeName
-
Copyright © 2011 Nuxeo SAS. All Rights Reserved.