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.TemplateContextType

Packages that use TemplateContextType
org.eclipse.jface.text.templates | 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 TemplateContextType in org.eclipse.jface.text.templates

Methods in org.eclipse.jface.text.templates that return TemplateContextType
`TemplateContextType` | `TemplateContext.getContextType()` Returns the context type of this context.
`protected abstract TemplateContextType` | `TemplateCompletionProcessor.getContextType(ITextViewer viewer, IRegion region)` Returns the context type that can handle template insertion at the given region in the viewer's document.
`TemplateContextType` | `ContextTypeRegistry.getContextType(String id)` Returns the context type if the id is valid, `null` otherwise.

Methods in org.eclipse.jface.text.templates with parameters of type TemplateContextType
`void` | `ContextTypeRegistry.addContextType(TemplateContextType contextType)` Adds a context type to the registry.

Constructors in org.eclipse.jface.text.templates with parameters of type TemplateContextType
`TemplateContext(TemplateContextType contextType)` Creates a template context of a particular context type.
`DocumentTemplateContext(TemplateContextType type, IDocument document, int completionOffset, int completionLength)` Creates a document template context.

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

Methods in org.eclipse.ui.texteditor.templates that return TemplateContextType
`TemplateContextType` | `TemplateVariableProcessor.getContextType()` Returns the context type.

Methods in org.eclipse.ui.texteditor.templates with parameters of type TemplateContextType
`void` | `TemplateVariableProcessor.setContextType(TemplateContextType contextType)` Sets the context type.

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.