addFromStream(getDefaultsAsStream(), true, true);
addFromStream(getDefaultsAsStream(), true, true, fgResourceBundle);
	private void create() {		// TODO remove once we have a contribution mechanism		if (ContextTypeRegistry.getInstance().getContextType("java") == null)			ContextTypeRegistry.getInstance().add(new JavaContextType());		if (ContextTypeRegistry.getInstance().getContextType("javadoc") == null)			ContextTypeRegistry.getInstance().add(new JavaDocContextType());				try {			File templateFile= getTemplateFile();			if (templateFile.exists()) {				addFromFile(templateFile, true);			} else {				addFromStream(getDefaultsAsStream(), true, true);				saveToFile(templateFile);			}		} catch (CoreException e) {//			JavaPlugin.log(e);			ErrorDialog.openError(null,				TemplateMessages.getString("Templates.error.title"), //$NON-NLS-1$				e.getMessage(), e.getStatus());			clear();		}	}	