public class ImportsVariableResolver extends AbstractTemplateVariableResolver implements IInspectableTemplateVariableResolver
Constructor and Description |
---|
ImportsVariableResolver() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHaveParameters() |
boolean |
hasMandatoryParameters() |
protected boolean |
isUnambiguous(org.eclipse.jface.text.templates.TemplateContext context) |
protected java.lang.String[] |
resolveAll(org.eclipse.jface.text.templates.TemplateContext context) |
java.util.List<java.lang.String> |
resolveValues(org.eclipse.jface.text.templates.TemplateVariable variable,
XtextTemplateContext xtextTemplateContext) |
void |
validateParameters(Variable variable,
ValidationMessageAcceptor validationMessageAcceptor) |
getEClassifierForGrammar, getGrammar, resolve
getDescription, getType, resolve, setDescription, setType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getType
public java.util.List<java.lang.String> resolveValues(org.eclipse.jface.text.templates.TemplateVariable variable, XtextTemplateContext xtextTemplateContext)
resolveValues
in class AbstractTemplateVariableResolver
protected boolean isUnambiguous(org.eclipse.jface.text.templates.TemplateContext context)
isUnambiguous
in class org.eclipse.jface.text.templates.TemplateVariableResolver
protected java.lang.String[] resolveAll(org.eclipse.jface.text.templates.TemplateContext context)
resolveAll
in class org.eclipse.jface.text.templates.TemplateVariableResolver
public boolean hasMandatoryParameters()
hasMandatoryParameters
in interface IInspectableTemplateVariableResolver
public boolean canHaveParameters()
canHaveParameters
in interface IInspectableTemplateVariableResolver
public void validateParameters(Variable variable, ValidationMessageAcceptor validationMessageAcceptor)
validateParameters
in interface IInspectableTemplateVariableResolver