Uses of Class
org.eclipse.text.templates.TemplatePersistenceData
Package
Description
Provides persistence support for templates.
-
Uses of TemplatePersistenceData in org.eclipse.jface.text.templates.persistence
ModifierConstructorDescriptionDeprecated.In some cases, we must continue to respect the deprecated TemplatePresistenceData even though we are givenTemplatePersistenceData
. -
Uses of TemplatePersistenceData in org.eclipse.text.templates
Modifier and TypeMethodDescriptionTemplateStoreCore.getTemplateData
(boolean includeDeleted) Returns all template data.TemplateStoreCore.getTemplateData
(String id) Returns the template data of the template with idid
ornull
if no such template can be found.TemplateReaderWriter.read
(InputStream stream, ResourceBundle bundle) Reads templates from a stream and adds them to the templates.Reads templates from a reader and returns them.TemplateReaderWriter.read
(Reader reader, ResourceBundle bundle) Reads templates from a stream and adds them to the templates.TemplateReaderWriter.readSingle
(Reader reader, String id) Reads the template with identifierid
from a reader and returns it.Modifier and TypeMethodDescriptionprotected final List<TemplatePersistenceData>
TemplateStoreCore.internalGetTemplates()
Return the stored templatesModifier and TypeMethodDescriptionvoid
TemplateStoreCore.add
(TemplatePersistenceData data) Adds a template encapsulated in its persistent form.void
TemplateStoreCore.delete
(TemplatePersistenceData data) Removes a template from the store.protected static final UUID
TemplatePersistenceData.getUniqueIdForEquals
(TemplatePersistenceData data) Required to support equals() with deprecated type org.eclipse.jface.text.templates.persistence.TemplatePersistenceData.protected void
TemplateStoreCore.internalAdd
(TemplatePersistenceData data) Adds a template to the internal store.void
TemplateReaderWriter.save
(TemplatePersistenceData[] templates, OutputStream stream) Saves the templates as XML, encoded as UTF-8 onto the given byte stream.void
TemplateReaderWriter.save
(TemplatePersistenceData[] templates, Writer writer) Saves the templates as XML.
TemplatePersistenceData