public class PluginManager
extends java.lang.Object
Constructor and Description |
---|
PluginManager()
Constructor
|
Modifier and Type | Method and Description |
---|---|
NodeDescription |
createNodeDescription(java.lang.String plugin,
java.lang.String type,
java.lang.String name)
Create a new node description for a selected action of a selected plug-in
|
java.util.Vector<NodeDescription> |
createNodesDescriptions(java.lang.String type)
Create a new vector with an entry for each actions, parameters values
will be set to null
|
java.util.Vector<NodeDescription> |
createNodesDescriptionsByPlugins(java.util.Vector<java.lang.String> pluginsName,
java.lang.String type)
Create a new vector with an entry for each actions, parameters values
will be set to null But only action of the plug-in define in the vector
which is given
|
PluginDescription |
getDescription(java.lang.String pluginName)
Return the plug-in description for a given name
|
java.lang.String |
getPluginActionGUIKey(java.lang.String plugin,
java.lang.String type,
java.lang.String action)
This method return the GUI key of a specified action of a specified plug-in
|
java.util.Vector<java.lang.String> |
getPluginActionHelp(java.lang.String plugin,
java.lang.String type,
java.lang.String action)
This method return the help lines of the action of a selected plugin
|
java.lang.String[] |
getPluginsName() |
void |
initialisePluginsTable(PluginGUIManager pluginGUIManager)
This method build the table which store the plug-ins descriptions
|
public void initialisePluginsTable(PluginGUIManager pluginGUIManager)
pluginGUIManager
- public java.util.Vector<NodeDescription> createNodesDescriptions(java.lang.String type)
type
- The type of the action searchedpublic NodeDescription createNodeDescription(java.lang.String plugin, java.lang.String type, java.lang.String name)
plugin
- The name of the plug-intype
- The type of the actionname
- The name of the actionpublic java.util.Vector<NodeDescription> createNodesDescriptionsByPlugins(java.util.Vector<java.lang.String> pluginsName, java.lang.String type)
pluginsName
- The names of the plug-instype
- The type of the action searchedpublic java.util.Vector<java.lang.String> getPluginActionHelp(java.lang.String plugin, java.lang.String type, java.lang.String action)
plugin
- The plug-in nametype
- The type of the actionaction
- The name of the actionpublic java.lang.String getPluginActionGUIKey(java.lang.String plugin, java.lang.String type, java.lang.String action)
plugin
- The plug-in nametype
- The action typeaction
- The action namepublic java.lang.String[] getPluginsName()
public PluginDescription getDescription(java.lang.String pluginName)
pluginName
- the plug-in name