|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jaxodraw.plugin.JaxoPluginInfo
public final class JaxoPluginInfo
Collects information about available plugins.
Method Summary | |
---|---|
void |
addPlugin(JaxoPlugin plugin)
Add a plugin to the list of plugins. |
String |
availablePlugins()
Returns the list of available plugins as a String. |
Set<String> |
getAvailablePlugins()
Returns the plugins that are available at runtime. |
List<Object> |
getExportFormats()
Installed export formats. |
JaxoImportPlugin |
getImportForExtension(String ext)
Return an import plugin that is capable of importing a given format. |
List<JaxoImportPlugin> |
getImportFormats()
Installed import formats. |
static JaxoPluginInfo |
getPluginInfo()
The only method to access the JaxoPluginInfo object. |
void |
removePlugin(JaxoPlugin plugin)
Removes the given JaxoPlugin from the list of plugins. |
void |
reValidate()
Re-scans the plugin dir, loading any found plugins. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JaxoPluginInfo getPluginInfo()
public void reValidate()
public String availablePlugins()
public Set<String> getAvailablePlugins()
public List<Object> getExportFormats()
public List<JaxoImportPlugin> getImportFormats()
public void addPlugin(JaxoPlugin plugin)
JaxoPluginLoader
.
plugin
- the plugin to add. If this is not and instance of either
JaxoExportPlugin
or JaxoImportPlugin
, does nothing.public void removePlugin(JaxoPlugin plugin)
plugin
- the plugin to remove.public JaxoImportPlugin getImportForExtension(String ext)
ext
- the file extension.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |