public class HTMLEditorStyleRichTextConfiguration extends Object implements RichTextConfiguration, Serviceable
HTMLEditorStyleExtensionPoint| Modifier and Type | Field and Description | 
|---|---|
private HTMLEditorStyleExtensionPoint | 
_htmlEditorStyleExtensionPoint  | 
private static Map<String,I18nizableText> | 
STYLE_GROUP_LABELS  | 
| Constructor and Description | 
|---|
HTMLEditorStyleRichTextConfiguration()  | 
| 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> contextParameters)
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> contextParameters)
Get the CSS files required during the edition of the given category. 
 | 
Collection<RichTextConfigurationTag> | 
getHandledTags(String category,
              Map<String,Object> contextParameters)
Get the authorized tags for the given category 
 | 
Set<ClientSideElement> | 
getValidators(String category,
             Map<String,Object> contextParameters)
Get the validators used during an edition of the rich text to ensure the value is correct. 
 | 
void | 
service(ServiceManager manager)  | 
private static final Map<String,I18nizableText> STYLE_GROUP_LABELS
private HTMLEditorStyleExtensionPoint _htmlEditorStyleExtensionPoint
public HTMLEditorStyleRichTextConfiguration()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic Set<String> getCategories()
RichTextConfigurationgetCategories in interface RichTextConfigurationpublic Collection<RichTextConfigurationTag> getHandledTags(String category, Map<String,Object> contextParameters)
RichTextConfigurationgetHandledTags in interface RichTextConfigurationcategory - The category. "" is the default category.contextParameters - Contextuals parameters transmitted by the environment.public List<ClientSideElement.ScriptFile> getCSSFiles(String category, Map<String,Object> contextParameters)
RichTextConfigurationgetCSSFiles in interface RichTextConfigurationcategory - The category. "" is the default category.contextParameters - Contextuals parameters transmitted by the environment.public Set<ClientSideElement> getConvertors(String category, Map<String,Object> contextParameters)
RichTextConfigurationgetConvertors in interface RichTextConfigurationcategory - The category. "" is the default category.contextParameters - Contextuals parameters transmitted by the environment.public Set<ClientSideElement> getValidators(String category, Map<String,Object> contextParameters)
RichTextConfigurationgetValidators in interface RichTextConfigurationcategory - The category. "" is the default category.contextParameters - Contextuals parameters transmitted by the environment.public Map<String,Map<RichTextConfigurationStyleGroup,List<RichTextConfigurationStyle>>> getAvailableStyles(String category, Map<String,Object> contextualParameters)
RichTextConfigurationgetAvailableStyles in interface RichTextConfigurationcategory - The category. "" is the default category.contextualParameters - Contextuals parameters transmitted by the environment.