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. |
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
String
|
TemplateVariableResolver.
resolve
(
TemplateContext context)
Returns an instance of the type resolved by the receiver available in context . |
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)
Returns an instance of the type resolved by the receiver available in context . |
protected
String
|
GlobalTemplateVariables.User.
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 . |
void
|
TemplateContextType.
resolve
(
TemplateVariable variable,
TemplateContext context)
Resolves a single variable in a context. |
protected
String[]
|
TemplateVariableResolver.
resolveAll
(
TemplateContext context)
Returns all possible bindings available in context . |