Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV NEXT | FRAMES NO FRAMES

## 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 Java User Interface text support.

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

Subclasses of TemplateContext in org.eclipse.jface.text.templates
`class` | `DocumentTemplateContext` A typical text based document template context.

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.

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

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV NEXT | FRAMES NO FRAMES

Guidelines for using Eclipse APIs.

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