Project templates come in two types:
For an example of creating a module that registers a new project template, see the
For an example of creating a module that registers a new project sample, see the
A project template is made available to the IDE's New Project wizard once it has been registered in the layer.xml file. You use the New Project Template wizard to create the basic files and to register the template in the layer.xml file.
Before you can use the New Project Template wizard, you must have project in the IDE that is structured in exactly the way that you would like it to be available in the New Project wizard. For example, if you are going to create a new project sample, you must first lay it out in the IDE. Then use the New Project Template wizard to add the template to the New Project wizard.
When you make the module that contains the new project template available as an NBM file, the user can install it via the Update Center and then, once it has been successfully installed, select it from the New Project wizard.