Package com.cosylab.vdct.plugin.config
Class PluginNameConfigManager
- java.lang.Object
-
- com.cosylab.vdct.plugin.config.PluginNameConfigManager
-
- All Implemented Interfaces:
PluginListener
public class PluginNameConfigManager extends Object implements PluginListener
- Author:
- ssah
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PluginNameConfigManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
checkValidity(String name)
If name is valid, the function returns null, otherwise it returns a String with the description of the error.String
getDefaultName()
static PluginNameConfigManager
getInstance()
String
getNameDescription()
Returns the description of the valid names.void
pluginAdded(PluginObject plugin)
Insert the method's description here.void
pluginRemoved(PluginObject plugin)
Insert the method's description here.
-
-
-
Method Detail
-
getInstance
public static PluginNameConfigManager getInstance()
- Returns:
- something
-
checkValidity
public String checkValidity(String name)
If name is valid, the function returns null, otherwise it returns a String with the description of the error.- Parameters:
name
- name- Returns:
- something
-
getNameDescription
public String getNameDescription()
Returns the description of the valid names.- Returns:
- something
-
getDefaultName
public String getDefaultName()
- Returns:
- something
-
pluginAdded
public void pluginAdded(PluginObject plugin)
Description copied from interface:PluginListener
Insert the method's description here. Creation date: (6.12.2001 22:16:08)- Specified by:
pluginAdded
in interfacePluginListener
- Parameters:
plugin
- plugin
-
pluginRemoved
public void pluginRemoved(PluginObject plugin)
Description copied from interface:PluginListener
Insert the method's description here. Creation date: (6.12.2001 22:15:59)- Specified by:
pluginRemoved
in interfacePluginListener
- Parameters:
plugin
- plugin
-
-