Class TemplateInfo
java.lang.Object
org.eclipse.cdt.core.templateengine.TemplateInfo
- Direct Known Subclasses:
TemplateInfo2
TemplateInfo class contains the template information like wizard ID, pattern, path and project type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks whether two TemplateInfo object are equal.List<?>
getIcon()
String[]
int
hashCode()
boolean
void
setConfigurations
(List<?> configs) void
setToolChainSet
(Set<String> toolChainIdSet)
-
Constructor Details
-
TemplateInfo
public TemplateInfo(String templateId, String projectTypeId, String filterPattern, String templatePath, String pluginId, Set<String> toolChainIdSet, Object extraPagesProvider, boolean isCategory) - Parameters:
templateId
-projectTypeId
-filterPattern
-templatePath
-pluginId
-toolChainIdSet
-extraPagesProvider
- an IPagesAfterTemplateSelectionProvider or nullisCategory
-
-
-
Method Details
-
getPluginId
- Returns:
- the plug-in id
-
getTemplateId
- Returns:
- the template id.
-
getTemplatePath
- Returns:
- the template path
-
getFilterPattern
- Returns:
- the filter Pattern.
-
getExtraPagesProvider
- Returns:
- an IPagesAfterTemplateSelectionProvider or null
-
getProjectType
- Returns:
- the projectTypeIds
-
getToolChainIds
- Returns:
- the toolChainIds
-
setToolChainSet
-
getConfigurations
-
setConfigurations
-
isCategory
public boolean isCategory()- Returns:
- whether this template is a category
-
getIcon
- Returns:
- the icon image file name
-
equals
Checks whether two TemplateInfo object are equal. -
hashCode
public int hashCode()
-