Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Template Pattern

I am looking at the template.xml file of a CC project and the associated code in package org.eclipse.cdt.core.templateengine.*. I tried to find where the element pattern belonging to a property id is used and/or parsed. For example for this property:

 

              <property id="sourceDir"

                           label="%HelloWorld.sourceDir.label"

                           description="%HelloWorld.sourceDir.description"

                           type="input"

                           default="%HelloWorld.sourceDir.default"

                           pattern="[a-zA-Z0-9]+"

                           persist="true"/>

 

The pattern is [a-zA-Z0-9]+ . It is my understanding when looking at the code that the pattern is not used anywhere. I am right? If I am right then what was is the planned purpose of the pattern?

 

Thanks

Guy


Back to the top