|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xpn.xwiki.wysiwyg.client.plugin.internal.DefaultPluginManager
public class DefaultPluginManager
Default implementation of the PluginManager interface. We don't plan to provide another implementation.
| Constructor Summary | |
|---|---|
DefaultPluginManager(Wysiwyg wysiwyg,
XRichTextArea textArea,
Config config)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPluginManager(Wysiwyg wysiwyg,
XRichTextArea textArea,
Config config)
| Method Detail |
|---|
public PluginFactoryManager getPluginFactoryManager()
getPluginFactoryManager in interface PluginManagerPluginManager.getPluginFactoryManager()public void setPluginFactoryManager(PluginFactoryManager pfm)
setPluginFactoryManager in interface PluginManagerpfm - The plug-in factory manager to use.PluginManager.setPluginFactoryManager(PluginFactoryManager)public void load(java.lang.String pluginName)
Plugin.init(Wysiwyg, XRichTextArea, Config) method is called.
load in interface PluginManagerpluginName - 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.PluginManager.load(String)public void unload(java.lang.String pluginName)
Plugin.destroy() method is called.
unload in interface PluginManagerpluginName - 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.PluginManager.unload(String)
public UIExtension getUIExtension(java.lang.String role,
java.lang.String feature)
getUIExtension in interface PluginManagerrole - The extension point. See UIExtension.getRole().feature - The feature name. See UIExtension.getFeatures().
PluginManager.getUIExtension(String, String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||