|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--net.sf.javadocbuilder.templatesources.workspace.WorkspaceTemplateSource
Template source that exposes templates on the workspace. This class will search all templates on the workspace. TODO this class should listen to file creation on workspace for adding templates incrementally. TODO this class should listen project close to remove tempaltes incrementally.
| Constructor Summary | |
WorkspaceTemplateSource()
|
|
| Method Summary | |
java.lang.String |
getDescription()
A brief description of this template source. |
java.lang.String |
getId()
A string that uniquely identifies the extension (suggested plugin id). |
java.lang.String |
getName()
Gets the visible name of the template source |
net.sf.javadocbuilder.ITemplate |
getTemplateById(java.lang.String id)
Gets the first template identified by the given name. |
net.sf.javadocbuilder.ITemplate[] |
getTemplates()
Gets an array of all templates available at the template source. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WorkspaceTemplateSource()
| Method Detail |
public net.sf.javadocbuilder.ITemplate[] getTemplates()
ITemplateSource
getTemplates in interface ITemplateSourcepublic java.lang.String getName()
ITemplateSource
getName in interface ITemplateSourcepublic java.lang.String getId()
ITemplateSource
getId in interface ITemplateSourcepublic java.lang.String getDescription()
ITemplateSource
getDescription in interface ITemplateSourcepublic net.sf.javadocbuilder.ITemplate getTemplateById(java.lang.String id)
ITemplateSource
getTemplateById in interface ITemplateSource
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||