net.datacrow.core.plugin
Class Plugins
java.lang.Object
net.datacrow.core.plugin.Plugins
public class Plugins
- extends java.lang.Object
Holder of all plugins. Caches loaded classes and instances.
Not threadsafe, should only be called from the Swing thread.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Plugins
public Plugins()
getInstance
public static Plugins getInstance()
getRegistered
public java.util.Collection<RegisteredPlugin> getRegistered()
getUserPlugins
public java.util.Collection<Plugin> getUserPlugins(DcObject dco,
int viewIdx,
int moduleIdx)
get
public Plugin get(java.lang.String key,
int moduleIdx)
throws InvalidPluginException
- Throws:
InvalidPluginException
get
public Plugin get(java.lang.String key)
throws InvalidPluginException
- Throws:
InvalidPluginException
get
public Plugin get(java.lang.String key,
DcObject dco,
DcTemplate template,
int viewIdx,
int moduleIdx)
throws InvalidPluginException
- Throws:
InvalidPluginException