| [news.eclipse.platform] Re: Use an XML Template when creating a New XML File |
Ronan Mulvaney wrote:
Hi,
Would really appreciate some help here in case I'm way off track.
What I am trying to do is define an XML template and when I create a new file, that this template gets used in the creation.
I have my org.eclipse.ui.editors.templates extension and this seems fine and shows up in the WST XML Template store.
What I am trying to figure out now is how this should get used when I create the file from my New File Wizard.
Dani
I can query and get the template, etc but I'm a bit confused then as to how to go about doing the replace of some of the TemplateVariables, well mainly if I was heading in the right direction, etc..
Thanks in advance.
Ronan