|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.LexBIG.gui.plugin.PluginRetriever
public class PluginRetriever
PluginRetriever loads all the plugins for the LexBig UI from a specified top-level directory. By default, the directory "plugins" is used.
Each plugin must reside in its own directory underneath the top-level directory, and must consist of a manifest file (named plugin.xml) and a jar containing the class files which define the plugin.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_BASE_FOLDER
|
static java.lang.String |
MANIFEST_FILE_NAME
|
Constructor Summary | |
---|---|
PluginRetriever()
Construct a PluginRetriever with a base directory of "plugins". |
|
PluginRetriever(java.lang.String directory)
Construct a PluginRetriever with a base directory other than the default. |
Method Summary | |
---|---|
TabbedContent[] |
getTabbedContentPlugins()
Returns the TabbedContent plugins. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MANIFEST_FILE_NAME
public static final java.lang.String DEFAULT_BASE_FOLDER
Constructor Detail |
---|
public PluginRetriever(java.lang.String directory)
TODO: Currently this class only supports "TabbedContent" style plugins. Eventually it should be modified to be more generic and allow for extension points in other areas.
directory
- the name of the folder plugins are located, relative to the
home directorypublic PluginRetriever()
TODO: Currently this class only supports "TabbedContent" style plugins. Eventually it should be modified to be more generic and allow for extension points in other areas.
Method Detail |
---|
public TabbedContent[] getTabbedContentPlugins()
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |