Issues while generating multiple files in an wizard
"user0815" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm currently trying (again) to create multiple files in a single new project wizard. I'm following the steps as described in https://blogs.oracle.com/geertjan/entry/multiple_files_from_a_single . The main difference is that I'm using @TemplateRegistration annotations instead of the layer xml. I'm able to create all files I'm interested in. Unfortunately there are some side effects: All used templates show up in the new project list instead of just the wizard/ main template. IMO there are 2 options: 1) Hide all dependend templates in the new project selection Question: Is it possible to hide registered templates in the New File/New Project wizard? 2) Bypass the TemplateRegistration and use a different way for getting the FileObject of a template. Question: Is it possible to get the FileObject for an registered template eg. by its folder and name? Each template will be regsitered by a new file wizard, my new project wizard should just create multiple of those artefacts at once in an convinient way. TIA + Best regards,