public class SkinHTMLEditorStyleExtension extends StaticHTMLEditorStyleExtension
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,StyleCategory> |
_imageStyleCategories
The assocation skinId Style ; to know for a given skin its style
|
protected Map<String,Long> |
_lastUpdates
The assocation skinId lastUpdateDate ; to know for a given skin when its conf file was read for the last time
|
protected Map<String,StyleCategory> |
_linkStyleCategories
The assocation skinId Style ; to know for a given skin its style
|
protected Map<String,StyleCategory> |
_olStyleCategories
The assocation skinId Style ; to know for a given skin its style
|
protected Map<String,StyleCategory> |
_paraStyleCategories
The assocation skinId Style ; to know for a given skin its style
|
protected SiteManager |
_siteManager
The sites manager
|
protected SourceResolver |
_sourceResolver
The excalibur source resolver
|
protected Map<String,StyleCategory> |
_tableStyleCategories
The assocation skinId Style ; to know for a given skin its style
|
protected Map<String,StyleCategory> |
_ulStyleCategories
The assocation skinId Style ; to know for a given skin its style
|
_featureName, _imageStyleCategory, _linkStyleCategory, _olStyleCategory, _paraStyleCategory, _pluginName, _resolver, _tableStyleCategory, _ulStyleCategory, IMAGE_DEFAULT_ICONS, LINK_DEFAULT_ICONS, OL_DEFAULT_ICONS, TABLE_DEFAULT_ICONS, UL_DEFAULT_ICONSROLE| Constructor and Description |
|---|
SkinHTMLEditorStyleExtension() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_defaultValues(String skinId)
Set default values for the given skin
|
protected String |
_getImport(Configuration configuration,
Map<String,Object> contextualParameters)
Determine an url from a configuration node.
|
protected String |
_updateStyleCategories(Map<String,Object> contextualParameters)
Update if necessary the values associated with the current skin
|
void |
configure(Configuration configuration) |
StyleCategory |
getImage(Map<String,Object> contextualParameters)
Get the list of styles for images
|
StyleCategory |
getLink(Map<String,Object> contextualParameters)
Get the list of styles for link
|
StyleCategory |
getOrderedList(Map<String,Object> contextualParameters)
Get the list of styles for ordered lists
|
StyleCategory |
getPara(Map<String,Object> contextualParameters)
Get the list of styles for paragraphs
|
StyleCategory |
getTable(Map<String,Object> contextualParameters)
Get the list of styles for tables
|
StyleCategory |
getUnorderedList(Map<String,Object> contextualParameters)
Get the list of styles for unordered lists
|
void |
service(ServiceManager manager) |
_configure, _configureStyle, _configureStyleCategory, setPluginInfoenableLogging, getLogger, setupLogger, setupLogger, setupLoggerprotected Map<String,Long> _lastUpdates
protected Map<String,StyleCategory> _paraStyleCategories
protected Map<String,StyleCategory> _tableStyleCategories
protected Map<String,StyleCategory> _imageStyleCategories
protected Map<String,StyleCategory> _linkStyleCategories
protected Map<String,StyleCategory> _ulStyleCategories
protected Map<String,StyleCategory> _olStyleCategories
protected SourceResolver _sourceResolver
protected SiteManager _siteManager
public SkinHTMLEditorStyleExtension()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class StaticHTMLEditorStyleExtensionServiceExceptionpublic void configure(Configuration configuration) throws ConfigurationException
configure in interface Configurableconfigure in class StaticHTMLEditorStyleExtensionConfigurationExceptionprotected String _getImport(Configuration configuration, Map<String,Object> contextualParameters)
StaticHTMLEditorStyleExtension_getImport in class StaticHTMLEditorStyleExtensionconfiguration - Read the optional plugin attribute and concatenate it to the value of the node. Can be nullcontextualParameters - Contextuals parameters transmitted by the environment.public StyleCategory getPara(Map<String,Object> contextualParameters)
HTMLEditorStyleExtensionPointgetPara in interface HTMLEditorStyleExtensionPointgetPara in class StaticHTMLEditorStyleExtensioncontextualParameters - Contextuals parameters transmitted by the environment.public StyleCategory getImage(Map<String,Object> contextualParameters)
HTMLEditorStyleExtensionPointgetImage in interface HTMLEditorStyleExtensionPointgetImage in class StaticHTMLEditorStyleExtensioncontextualParameters - Contextuals parameters transmitted by the environment.public StyleCategory getLink(Map<String,Object> contextualParameters)
HTMLEditorStyleExtensionPointgetLink in interface HTMLEditorStyleExtensionPointgetLink in class StaticHTMLEditorStyleExtensioncontextualParameters - Contextuals parameters transmitted by the environment.public StyleCategory getOrderedList(Map<String,Object> contextualParameters)
HTMLEditorStyleExtensionPointgetOrderedList in interface HTMLEditorStyleExtensionPointgetOrderedList in class StaticHTMLEditorStyleExtensioncontextualParameters - Contextuals parameters transmitted by the environment.public StyleCategory getTable(Map<String,Object> contextualParameters)
HTMLEditorStyleExtensionPointgetTable in interface HTMLEditorStyleExtensionPointgetTable in class StaticHTMLEditorStyleExtensioncontextualParameters - Contextuals parameters transmitted by the environment.public StyleCategory getUnorderedList(Map<String,Object> contextualParameters)
HTMLEditorStyleExtensionPointgetUnorderedList in interface HTMLEditorStyleExtensionPointgetUnorderedList in class StaticHTMLEditorStyleExtensioncontextualParameters - Contextuals parameters transmitted by the environment.protected String _updateStyleCategories(Map<String,Object> contextualParameters)
contextualParameters - Contextuals parameters transmitted by the environment.protected void _defaultValues(String skinId)
skinId - The skin