*
* @return the template store of this plug-in instance
*/
public static TemplateStore getTemplateStore(String type) {
if (!fStoreList.containsKey(type)) {
ContributionTemplateStore store = new ContributionTemplateStore(TemplateHelper.getContextTypeRegistry(),
EclipseEmmetPlugin.getDefault().getPreferenceStore(), CUSTOM_TEMPLATES_KEY + "." + type);
try {
store.load();
fStoreList.put(type, store);
} catch (IOException e) {
e.printStackTrace();
throw new RuntimeException(e);
}