|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PluginManager
Manages the list of installed plug-ins.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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().
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||