org.nuxeo.ecm.platform.ui.web.htmleditor.service
Class HtmlEditorPluginServiceImpl
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.ui.web.htmleditor.service.HtmlEditorPluginServiceImpl
- All Implemented Interfaces:
- HtmlEditorPluginService, Adaptable, Component, Extensible
public class HtmlEditorPluginServiceImpl
- extends DefaultComponent
- implements HtmlEditorPluginService
Service used to register plugins for TinyMCE.
- Author:
- Thomas Roger
PLUGINS_EXTENSION_POINT
public static final String PLUGINS_EXTENSION_POINT
- See Also:
- Constant Field Values
HtmlEditorPluginServiceImpl
public HtmlEditorPluginServiceImpl()
activate
public void activate(ComponentContext context)
throws Exception
- Description copied from interface:
Component
- Activates the component.
This method is called by the runtime when a component is activated.
- Specified by:
activate
in interface Component
- Overrides:
activate
in class DefaultComponent
- Parameters:
context
- the runtime context
- Throws:
Exception
- if an error occurs during activation
deactivate
public void deactivate(ComponentContext context)
throws Exception
- Description copied from interface:
Component
- Deactivates the component.
This method is called by the runtime when a component is deactivated.
- Specified by:
deactivate
in interface Component
- Overrides:
deactivate
in class DefaultComponent
- Parameters:
context
- the runtime context
- Throws:
Exception
- if an error occurs during activation
registerContribution
public void registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
- Overrides:
registerContribution
in class DefaultComponent
unregisterContribution
public void unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
- Overrides:
unregisterContribution
in class DefaultComponent
getPluginsName
public List<String> getPluginsName()
- Specified by:
getPluginsName
in interface HtmlEditorPluginService
getFormattedPluginsNames
public String getFormattedPluginsNames()
- Specified by:
getFormattedPluginsNames
in interface HtmlEditorPluginService
getToolbarsButtonsNames
public List<String> getToolbarsButtonsNames()
getFormattedToolbarsButtonsNames
public String getFormattedToolbarsButtonsNames()
- Specified by:
getFormattedToolbarsButtonsNames
in interface HtmlEditorPluginService
getToolbarsButtons
public Map<String,String> getToolbarsButtons()
- Specified by:
getToolbarsButtons
in interface HtmlEditorPluginService
Copyright © 2011 Nuxeo SAS. All Rights Reserved.