Class TemplateInfo
- java.lang.Object
-
- org.eclipse.cdt.core.templateengine.TemplateInfo
-
- Direct Known Subclasses:
TemplateInfo2
public class TemplateInfo extends Object
TemplateInfo class contains the template information like wizard ID, pattern, path and project type.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Checks whether two TemplateInfo object are equal.List<?>
getConfigurations()
Object
getExtraPagesProvider()
String
getFilterPattern()
String
getIcon()
String
getPluginId()
String
getProjectType()
String
getTemplateId()
String
getTemplatePath()
String[]
getToolChainIds()
int
hashCode()
boolean
isCategory()
void
setConfigurations(List<?> configs)
void
setToolChainSet(Set<String> toolChainIdSet)
-
-
-
Constructor Detail
-
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 Detail
-
getPluginId
public String getPluginId()
- Returns:
- the plug-in id
-
getTemplateId
public String getTemplateId()
- Returns:
- the template id.
-
getTemplatePath
public String getTemplatePath()
- Returns:
- the template path
-
getFilterPattern
public String getFilterPattern()
- Returns:
- the filter Pattern.
-
getExtraPagesProvider
public Object getExtraPagesProvider()
- Returns:
- an IPagesAfterTemplateSelectionProvider or null
-
getProjectType
public String getProjectType()
- Returns:
- the projectTypeIds
-
getToolChainIds
public String[] getToolChainIds()
- Returns:
- the toolChainIds
-
getConfigurations
public List<?> getConfigurations()
-
setConfigurations
public void setConfigurations(List<?> configs)
-
isCategory
public boolean isCategory()
- Returns:
- whether this template is a category
-
getIcon
public String getIcon()
- Returns:
- the icon image file name
-
equals
public boolean equals(Object obj)
Checks whether two TemplateInfo object are equal.
-
-