[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Use an XML Template when creating a New XML File

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.
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