Class TemplateInfo

  • Direct Known Subclasses:
    TemplateInfo2

    public class TemplateInfo
    extends Object
    TemplateInfo class contains the template information like wizard ID, pattern, path and project type.
    • 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 null
        isCategory -
    • 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
      • setToolChainSet

        public void setToolChainSet​(Set<String> toolChainIdSet)
      • 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object