public interface PluginManager
Modifier and Type | Method and Description |
---|---|
PluginFactoryManager |
getPluginFactoryManager() |
UIExtension |
getUIExtension(String role,
String feature) |
void |
load(String pluginName)
Loads the specified plug-in.
|
void |
setPluginFactoryManager(PluginFactoryManager pfm)
Sets the manager of the available plug-in factories.
|
void |
unload(String pluginName)
Unloads the specified plug-in.
|
void |
unloadAll()
Unloads all the plug-ins for which the
load(String) method has been called. |
PluginFactoryManager getPluginFactoryManager()
void setPluginFactoryManager(PluginFactoryManager pfm)
pfm
- The plug-in factory manager to use.void load(String pluginName)
Plugin#init(com.xpn.xwiki.wysiwyg.client.widget.rta.RichTextArea, com.xpn.xwiki.wysiwyg.client.util.Config)
method is called.pluginName
- The name of the plug-in to be loaded. This name should match the value returned by
PluginFactory.getPluginName()
method of this plug-in's factory.void unload(String pluginName)
Plugin.destroy()
method is called.pluginName
- The name of the plug-in to be unloaded. This name should match the value returned by
PluginFactory.getPluginName()
method of this plug-in's factory.void unloadAll()
load(String)
method has been called.UIExtension getUIExtension(String role, String feature)
role
- The extension point. See UIExtension.getRole()
.feature
- The feature name. See UIExtension.getFeatures()
.Copyright © 2004–2017 XWiki. All rights reserved.