public interface RichTextConfiguration
RichTextConfigurationExtensionPoint
.
Extensions are classified by categories: "" is the default category.Modifier and Type | Method and Description |
---|---|
Map<String,Map<RichTextConfigurationStyleGroup,List<RichTextConfigurationStyle>>> |
getAvailableStyles(String category,
Map<String,Object> contextualParameters)
Get the available styles classified by identifiers such as "table", "link"...
|
Set<String> |
getCategories()
Get the categories supported by this extension
|
Set<ClientSideElement> |
getConvertors(String category,
Map<String,Object> contextualParameters)
Get the convertors used when richtext switch from code to view and from view to code.
|
List<ClientSideElement.ScriptFile> |
getCSSFiles(String category,
Map<String,Object> contextualParameters)
Get the CSS files required during the edition of the given category.
|
Collection<RichTextConfigurationTag> |
getHandledTags(String category,
Map<String,Object> contextualParameters)
Get the authorized tags for the given category
|
Set<ClientSideElement> |
getValidators(String category,
Map<String,Object> contextualParameters)
Get the validators used during an edition of the rich text to ensure the value is correct.
|
Set<String> getCategories()
Collection<RichTextConfigurationTag> getHandledTags(String category, Map<String,Object> contextualParameters)
category
- The category. "" is the default category.contextualParameters
- Contextuals parameters transmitted by the environment.List<ClientSideElement.ScriptFile> getCSSFiles(String category, Map<String,Object> contextualParameters)
category
- The category. "" is the default category.contextualParameters
- Contextuals parameters transmitted by the environment.Set<ClientSideElement> getValidators(String category, Map<String,Object> contextualParameters)
category
- The category. "" is the default category.contextualParameters
- Contextuals parameters transmitted by the environment.Set<ClientSideElement> getConvertors(String category, Map<String,Object> contextualParameters)
category
- The category. "" is the default category.contextualParameters
- Contextuals parameters transmitted by the environment.Map<String,Map<RichTextConfigurationStyleGroup,List<RichTextConfigurationStyle>>> getAvailableStyles(String category, Map<String,Object> contextualParameters)
category
- The category. "" is the default category.contextualParameters
- Contextuals parameters transmitted by the environment.