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_ICONS
ROLE
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, setPluginInfo
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected 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 Serviceable
service
in class StaticHTMLEditorStyleExtension
ServiceException
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
configure
in class StaticHTMLEditorStyleExtension
ConfigurationException
protected String _getImport(Configuration configuration, Map<String,Object> contextualParameters)
StaticHTMLEditorStyleExtension
_getImport
in class StaticHTMLEditorStyleExtension
configuration
- 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)
HTMLEditorStyleExtensionPoint
getPara
in interface HTMLEditorStyleExtensionPoint
getPara
in class StaticHTMLEditorStyleExtension
contextualParameters
- Contextuals parameters transmitted by the environment.public StyleCategory getImage(Map<String,Object> contextualParameters)
HTMLEditorStyleExtensionPoint
getImage
in interface HTMLEditorStyleExtensionPoint
getImage
in class StaticHTMLEditorStyleExtension
contextualParameters
- Contextuals parameters transmitted by the environment.public StyleCategory getLink(Map<String,Object> contextualParameters)
HTMLEditorStyleExtensionPoint
getLink
in interface HTMLEditorStyleExtensionPoint
getLink
in class StaticHTMLEditorStyleExtension
contextualParameters
- Contextuals parameters transmitted by the environment.public StyleCategory getOrderedList(Map<String,Object> contextualParameters)
HTMLEditorStyleExtensionPoint
getOrderedList
in interface HTMLEditorStyleExtensionPoint
getOrderedList
in class StaticHTMLEditorStyleExtension
contextualParameters
- Contextuals parameters transmitted by the environment.public StyleCategory getTable(Map<String,Object> contextualParameters)
HTMLEditorStyleExtensionPoint
getTable
in interface HTMLEditorStyleExtensionPoint
getTable
in class StaticHTMLEditorStyleExtension
contextualParameters
- Contextuals parameters transmitted by the environment.public StyleCategory getUnorderedList(Map<String,Object> contextualParameters)
HTMLEditorStyleExtensionPoint
getUnorderedList
in interface HTMLEditorStyleExtensionPoint
getUnorderedList
in class StaticHTMLEditorStyleExtension
contextualParameters
- 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