Package | Description |
---|---|
org.eclipse.jface.text.templates.persistence |
Provides persistence support for templates.
|
org.eclipse.ui.texteditor.templates |
Application programming interfaces for interaction
with the Eclipse text editor template support.
|
Modifier and Type | Method and Description |
---|---|
TemplatePersistenceData[] |
TemplateStore.getTemplateData(boolean includeDeleted)
Returns all template data.
|
TemplatePersistenceData |
TemplateStore.getTemplateData(String id)
Returns the template data of the template with id
id or
null if no such template can be found. |
TemplatePersistenceData[] |
TemplateReaderWriter.read(InputStream stream,
ResourceBundle bundle)
Reads templates from a stream and adds them to the templates.
|
TemplatePersistenceData[] |
TemplateReaderWriter.read(Reader reader)
Reads templates from a reader and returns them.
|
TemplatePersistenceData[] |
TemplateReaderWriter.read(Reader reader,
ResourceBundle bundle)
Reads templates from a stream and adds them to the templates.
|
TemplatePersistenceData |
TemplateReaderWriter.readSingle(Reader reader,
String id)
Reads the template with identifier
id from a reader and
returns it. |
Modifier and Type | Method and Description |
---|---|
void |
TemplateStore.add(TemplatePersistenceData data)
Adds a template encapsulated in its persistent form.
|
void |
TemplateStore.delete(TemplatePersistenceData data)
Removes a template from the store.
|
protected void |
TemplateStore.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.
|
Modifier and Type | Method and Description |
---|---|
TemplatePersistenceData[] |
AbstractTemplatesPage.getSelectedTemplates()
Returns the currently selected templates
|
TemplatePersistenceData[] |
ITemplatesPageExtension.getSelectedTemplates()
Returns currently selected templates.
|
TemplatePersistenceData[] |
TemplatesView.getSelectedTemplates()
Returns the currently selected templates.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.