## Uses of Class
org.eclipse.jface.text.templates.TemplateContext

Packages that use TemplateContext
org.eclipse.jface.text.templates: Application programming interfaces for interaction with the Eclipse text template support.

### Uses of TemplateContext in org.eclipse.jface.text.templates

Subclasses of TemplateContext in org.eclipse.jface.text.templates
`class` `DocumentTemplateContext` Instances of this class describe the context of a template as a region of a document.

Methods in org.eclipse.jface.text.templates that return TemplateContext
`protected TemplateContext` TemplateCompletionProcessor.`createContext​(ITextViewer viewer, IRegion region)` Creates a concrete template context for the given region in the document.
`protected TemplateContext` TemplateProposal.`getContext()` Returns the context in which the template was requested.

Methods in org.eclipse.jface.text.templates with parameters of type TemplateContext
`protected ICompletionProposal` TemplateCompletionProcessor.`createProposal​(Template template, TemplateContext context, IRegion region, int relevance)` Creates a new proposal.
`protected ICompletionProposal` TemplateCompletionProcessor.`createProposal​(Template template, TemplateContext context, Region region, int relevance)` Deprecated. use the version specifying `IRegion` as third parameter
`protected boolean` SimpleTemplateVariableResolver.`isUnambiguous​(TemplateContext context)` Returns always `true`, since simple variables are normally unambiguous.
`protected boolean` TemplateVariableResolver.`isUnambiguous​(TemplateContext context)` Returns whether this resolver is able to resolve unambiguously.
`protected String` GlobalTemplateVariables.Date.`resolve​(TemplateContext context)`
`void` GlobalTemplateVariables.Date.`resolve​(TemplateVariable variable, TemplateContext context)`
`protected String` GlobalTemplateVariables.Selection.`resolve​(TemplateContext context)`
`void` GlobalTemplateVariables.Selection.`resolve​(TemplateVariable variable, TemplateContext context)`
`protected String` GlobalTemplateVariables.Time.`resolve​(TemplateContext context)`
`protected String` GlobalTemplateVariables.User.`resolve​(TemplateContext context)`
`protected String` GlobalTemplateVariables.Year.`resolve​(TemplateContext context)`
`protected String` SimpleTemplateVariableResolver.`resolve​(TemplateContext context)`
`void` TemplateContextType.`resolve​(TemplateBuffer buffer, TemplateContext context)` Resolves the variables in `buffer` within `context` and edits the template buffer to reflect the resolved variables.
`void` TemplateContextType.`resolve​(TemplateVariable variable, TemplateContext context)` Resolves a single variable in a context.
`protected String` TemplateVariableResolver.`resolve​(TemplateContext context)` Returns an instance of the type resolved by the receiver available in `context`.
`void` TemplateVariableResolver.`resolve​(TemplateVariable variable, TemplateContext context)` Resolves `variable` in `context`.
`protected String[]` TemplateVariableResolver.`resolveAll​(TemplateContext context)` Returns all possible bindings available in `context`.

Constructors in org.eclipse.jface.text.templates with parameters of type TemplateContext
`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.