|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unitesk.atp.treedl.TDL_ModuleMap
public class TDL_ModuleMap
This class represents set of available modules.
Constructor Summary | |
---|---|
TDL_ModuleMap(PluginManager pm,
String sourcePath)
Create map of modules. |
Method Summary | |
---|---|
TDL_Module |
getModule(TDL.QID name)
Get loaded module with the given name. |
Set |
getModuleNames()
Returns set of full names of all known modules. |
String[] |
getSourcePath()
Returns source path where modules are searched. |
TDL_Module |
loadModule(TDL.QID name)
Load module for the specified name. |
void |
putModule(TDL_Module module)
Puts module to map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TDL_ModuleMap(PluginManager pm, String sourcePath)
pm
- Plugin managersourcePath
- Source pathMethod Detail |
---|
public Set getModuleNames()
public TDL_Module getModule(TDL.QID name)
name
- Module name.
null
if there is no loaded module with such name.public void putModule(TDL_Module module)
module
- Module to be added to the map.public TDL_Module loadModule(TDL.QID name)
name
- Module name.
null
if it is not possible to load module for this name.public String[] getSourcePath()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |