|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractExtensionManager
org.topcased.modeler.extensions.TemplatesManager
public class TemplatesManager
Class that stores the templates registered with the templates extension point.
Method Summary | |
---|---|
protected void |
addExtension(org.eclipse.core.runtime.IExtension extension)
|
TemplateDescriptor |
find(java.lang.String id)
Find a descriptor in the registry. |
static TemplatesManager |
getInstance()
Get the shared instance. |
TemplateDescriptor[] |
getTemplates()
Get an enumeration of template descriptors. |
TemplateDescriptor[] |
getTemplates(java.lang.String editorId)
Get an enumeration of template descriptors that are applicable only for the given editorId |
protected void |
removeExtension(org.eclipse.core.runtime.IExtension extension)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TemplatesManager getInstance()
public TemplateDescriptor find(java.lang.String id)
id
- the searched template id
null
if not foundpublic TemplateDescriptor[] getTemplates()
public TemplateDescriptor[] getTemplates(java.lang.String editorId)
editorId
- the id of the Topcased editor
protected void addExtension(org.eclipse.core.runtime.IExtension extension)
org.topcased.facilities.extensions.AbstractExtensionManager#addExtension(org.eclipse.core.runtime.IExtension)
protected void removeExtension(org.eclipse.core.runtime.IExtension extension)
org.topcased.facilities.extensions.AbstractExtensionManager#removeExtension(org.eclipse.core.runtime.IExtension)
|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.