Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ui.web.htmleditor.service
Class HtmlEditorPluginServiceImpl

java.lang.Object
  extended by org.nuxeo.runtime.model.DefaultComponent
      extended by 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

Field Summary
static String PLUGINS_EXTENSION_POINT
           
 
Constructor Summary
HtmlEditorPluginServiceImpl()
           
 
Method Summary
 void activate(ComponentContext context)
          Activates the component.
 void deactivate(ComponentContext context)
          Deactivates the component.
 String getFormattedPluginsNames()
           
 String getFormattedToolbarsButtonsNames()
           
 List<String> getPluginsName()
           
 Map<String,String> getToolbarsButtons()
           
 List<String> getToolbarsButtonsNames()
           
 void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
           
 void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
           
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
applicationStarted, getAdapter, registerExtension, unregisterExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGINS_EXTENSION_POINT

public static final String PLUGINS_EXTENSION_POINT
See Also:
Constant Field Values
Constructor Detail

HtmlEditorPluginServiceImpl

public HtmlEditorPluginServiceImpl()
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.