public static class GlobalTemplateVariables.WordSelection extends SimpleTemplateVariableResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
Name of the word selection variable, value= "word_selection"
|
| Constructor and Description |
|---|
GlobalTemplateVariables.WordSelection()
Creates a new word selection variable
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
resolve(TemplateContext context)
Returns an instance of the type resolved by the receiver available in
context. |
isUnambiguous, setEvaluationStringgetDescription, getType, resolve, resolveAll, setDescription, setTypepublic static final String NAME
public GlobalTemplateVariables.WordSelection()
protected String resolve(TemplateContext context)
TemplateVariableResolvercontext.
To resolve means to provide a binding to a concrete text object (a
String) in the given context.
The default implementation looks up the type in the context.
resolve in class SimpleTemplateVariableResolvercontext - the context in which to resolve the typenull if it cannot be determinedGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.