Uses of Class
org.eclipse.text.templates.TemplatePersistenceData
Packages that use TemplatePersistenceData
Package
Description
Provides persistence support for templates.
-
Uses of TemplatePersistenceData in org.eclipse.jface.text.templates.persistence
Subclasses of TemplatePersistenceData in org.eclipse.jface.text.templates.persistenceConstructors in org.eclipse.jface.text.templates.persistence with parameters of type TemplatePersistenceDataModifierConstructorDescriptionDeprecated.In some cases, we must continue to respect the deprecated TemplatePresistenceData even though we are givenTemplatePersistenceData
. -
Uses of TemplatePersistenceData in org.eclipse.text.templates
Methods in org.eclipse.text.templates that return TemplatePersistenceDataModifier 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.Methods in org.eclipse.text.templates that return types with arguments of type TemplatePersistenceDataModifier and TypeMethodDescriptionprotected final List<TemplatePersistenceData>
TemplateStoreCore.internalGetTemplates()
Return the stored templatesMethods in org.eclipse.text.templates with parameters of type TemplatePersistenceDataModifier 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