Eclipse Platform
Release 3.0

Uses of Class
org.eclipse.jface.text.templates.Template

Packages that use Template
org.eclipse.jface.text.templates Application programming interfaces for interaction with the Eclipse Java User Interface text support.  
org.eclipse.jface.text.templates.persistence Application programming interfaces for interaction with the Eclipse Java User Interface text support.  
org.eclipse.ui.texteditor.templates Application programming interfaces for interaction with the Eclipse Java User Interface text support.  
 

Uses of Template in org.eclipse.jface.text.templates
 

Methods in org.eclipse.jface.text.templates that return Template
protected abstract  Template[] TemplateCompletionProcessor.getTemplates(String contextTypeId)
          Returns the templates valid for the context type specified by contextTypeId.
 

Methods in org.eclipse.jface.text.templates with parameters of type Template
 boolean DocumentTemplateContext.canEvaluate(Template template)
           
 TemplateBuffer DocumentTemplateContext.evaluate(Template template)
           
abstract  TemplateBuffer TemplateContext.evaluate(Template template)
          Evaluates the template in this context and returns a template buffer.
abstract  boolean TemplateContext.canEvaluate(Template template)
          Tests if the specified template can be evaluated in this context.
 TemplateBuffer TemplateTranslator.translate(Template template)
          Translates a template to a TemplateBuffer.
protected  ICompletionProposal TemplateCompletionProcessor.createProposal(Template template, TemplateContext context, Region region, int relevance)
          Creates a new proposal.
protected  int TemplateCompletionProcessor.getRelevance(Template template, String prefix)
          Returns the relevance of a template given a prefix.
protected abstract  Image TemplateCompletionProcessor.getImage(Template template)
          Returns the image to be used for the proposal for template.
 

Constructors in org.eclipse.jface.text.templates with parameters of type Template
Template(Template template)
          Creates a copy of a template.
TemplateProposal(Template template, TemplateContext context, IRegion region, Image image)
          Creates a template proposal with a template and its context.
TemplateProposal(Template template, TemplateContext context, IRegion region, Image image, int relevance)
          Creates a template proposal with a template and its context.
 

Uses of Template in org.eclipse.jface.text.templates.persistence
 

Methods in org.eclipse.jface.text.templates.persistence that return Template
 Template TemplatePersistenceData.getTemplate()
          Returns the template encapsulated by the receiver.
 Template[] TemplateStore.getTemplates()
          Returns all enabled templates.
 Template[] TemplateStore.getTemplates(String contextTypeId)
          Returns all enabled templates for the given context type.
 Template TemplateStore.findTemplate(String name)
          Returns the first enabled template that matches the name.
 Template TemplateStore.findTemplate(String name, String contextTypeId)
          Returns the first enabled template that matches both name and context type id.
 

Methods in org.eclipse.jface.text.templates.persistence with parameters of type Template
 void TemplatePersistenceData.setTemplate(Template template)
          Sets the template encapsulated by the receiver.
 

Constructors in org.eclipse.jface.text.templates.persistence with parameters of type Template
TemplatePersistenceData(Template template, boolean enabled)
          Creates a new, user-added instance that is not linked to a contributed template.
TemplatePersistenceData(Template template, boolean enabled, String id)
          Creates a new instance.
 

Uses of Template in org.eclipse.ui.texteditor.templates
 

Methods in org.eclipse.ui.texteditor.templates with parameters of type Template
protected  Dialog TemplatePreferencePage.createTemplateEditDialog(Template template, boolean edit, boolean isNameModifiable)
          Creates the edit dialog.
 


Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.