String name = (String) entry.getKey();
String value = (String) entry.getValue();
String description = ImplMessages.templateParameterName(name);
IBinding binding = _bindingSource.createBinding(
_loadComponent,
description,
value,
token.getLocation());
addBinding(component, spec, name, binding);
}
}
// if the component defines a templateTag parameter and
// there is no established binding for that parameter,
// add a static binding carrying the template tag
if (spec.getParameter(TemplateSource.TEMPLATE_TAG_PARAMETER_NAME) != null
&& component.getBinding(TemplateSource.TEMPLATE_TAG_PARAMETER_NAME) == null)
{
IBinding binding = _bindingSource.createBinding(
component,
TemplateSource.TEMPLATE_TAG_PARAMETER_NAME,
token.getTag(),
token.getLocation());