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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PLUGINS_EXTENSION_POINT
public static final java.lang.String PLUGINS_EXTENSION_POINT
- See Also:
- Constant Field Values
HtmlEditorPluginServiceImpl
public HtmlEditorPluginServiceImpl()
activate
public void activate(ComponentContext context)
throws java.lang.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:
java.lang.Exception
- if an error occurs during activation
deactivate
public void deactivate(ComponentContext context)
throws java.lang.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:
java.lang.Exception
- if an error occurs during activation
registerContribution
public void registerContribution(java.lang.Object contribution,
java.lang.String extensionPoint,
ComponentInstance contributor)
- Overrides:
registerContribution
in class DefaultComponent
unregisterContribution
public void unregisterContribution(java.lang.Object contribution,
java.lang.String extensionPoint,
ComponentInstance contributor)
- Overrides:
unregisterContribution
in class DefaultComponent
getPluginsName
public java.util.List<java.lang.String> getPluginsName()
- Specified by:
getPluginsName
in interface HtmlEditorPluginService
getFormattedPluginsNames
public java.lang.String getFormattedPluginsNames()
- Specified by:
getFormattedPluginsNames
in interface HtmlEditorPluginService
getToolbarsButtons
public java.util.Map<java.lang.String,java.lang.String> getToolbarsButtons()
- Specified by:
getToolbarsButtons
in interface HtmlEditorPluginService
Copyright © 2010 Nuxeo SAS. All Rights Reserved.