|
|||||||||
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(java.lang.String role,
java.lang.String feature)
|
void |
load(java.lang.String pluginName)
Loads the specified plug-in. |
void |
setPluginFactoryManager(PluginFactoryManager pfm)
Sets the manager of the available plug-in factories. |
void |
unload(java.lang.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(java.lang.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(java.lang.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(java.lang.String role, java.lang.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 |