Class EmptyHTMLEditorStyleExtension
- java.lang.Object
-
- org.ametys.cms.clientsideelement.styles.EmptyHTMLEditorStyleExtension
-
- All Implemented Interfaces:
HTMLEditorStyleExtensionPoint
public class EmptyHTMLEditorStyleExtension extends Object implements HTMLEditorStyleExtensionPoint
Implementation that anwsers nothing
-
-
Field Summary
Fields Modifier and Type Field Description private StyleCategory
_emptyStyleCategory
private List<Style>
_styles
-
Fields inherited from interface org.ametys.cms.clientsideelement.styles.HTMLEditorStyleExtensionPoint
ROLE
-
-
Constructor Summary
Constructors Constructor Description EmptyHTMLEditorStyleExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StyleCategory
getImage(Map<String,Object> contextualParameters)
Get the list of styles for imagesStyleCategory
getLink(Map<String,Object> contextualParameters)
Get the list of styles for linkStyleCategory
getOrderedList(Map<String,Object> contextualParameters)
Get the list of styles for ordered listsStyleCategory
getPara(Map<String,Object> contextualParameters)
Get the list of styles for paragraphsStyleCategory
getTable(Map<String,Object> contextualParameters)
Get the list of styles for tablesStyleCategory
getUnorderedList(Map<String,Object> contextualParameters)
Get the list of styles for unordered lists-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ametys.cms.clientsideelement.styles.HTMLEditorStyleExtensionPoint
getBackOfficeCSSFiles, getInlineEditorCSSFiles
-
-
-
-
Field Detail
-
_emptyStyleCategory
private StyleCategory _emptyStyleCategory
-
-
Constructor Detail
-
EmptyHTMLEditorStyleExtension
public EmptyHTMLEditorStyleExtension()
-
-
Method Detail
-
getPara
public StyleCategory getPara(Map<String,Object> contextualParameters)
Description copied from interface:HTMLEditorStyleExtensionPoint
Get the list of styles for paragraphs- Specified by:
getPara
in interfaceHTMLEditorStyleExtensionPoint
- Parameters:
contextualParameters
- Contextuals parameters transmitted by the environment.- Returns:
- A category. Can be null.
-
getTable
public StyleCategory getTable(Map<String,Object> contextualParameters)
Description copied from interface:HTMLEditorStyleExtensionPoint
Get the list of styles for tables- Specified by:
getTable
in interfaceHTMLEditorStyleExtensionPoint
- Parameters:
contextualParameters
- Contextuals parameters transmitted by the environment.- Returns:
- A category. Can be null.
-
getImage
public StyleCategory getImage(Map<String,Object> contextualParameters)
Description copied from interface:HTMLEditorStyleExtensionPoint
Get the list of styles for images- Specified by:
getImage
in interfaceHTMLEditorStyleExtensionPoint
- Parameters:
contextualParameters
- Contextuals parameters transmitted by the environment.- Returns:
- A category. Can be null.
-
getLink
public StyleCategory getLink(Map<String,Object> contextualParameters)
Description copied from interface:HTMLEditorStyleExtensionPoint
Get the list of styles for link- Specified by:
getLink
in interfaceHTMLEditorStyleExtensionPoint
- Parameters:
contextualParameters
- Contextuals parameters transmitted by the environment.- Returns:
- A category. Can be null.
-
getOrderedList
public StyleCategory getOrderedList(Map<String,Object> contextualParameters)
Description copied from interface:HTMLEditorStyleExtensionPoint
Get the list of styles for ordered lists- Specified by:
getOrderedList
in interfaceHTMLEditorStyleExtensionPoint
- Parameters:
contextualParameters
- Contextuals parameters transmitted by the environment.- Returns:
- A category. Can be null.
-
getUnorderedList
public StyleCategory getUnorderedList(Map<String,Object> contextualParameters)
Description copied from interface:HTMLEditorStyleExtensionPoint
Get the list of styles for unordered lists- Specified by:
getUnorderedList
in interfaceHTMLEditorStyleExtensionPoint
- Parameters:
contextualParameters
- Contextuals parameters transmitted by the environment.- Returns:
- A category. Can be null.
-
-