// Javadoc inherited.
protected ActivatedPolicy activateImpl(
RuntimeProject actualProject, PolicyBuilder policyBuilder,
RuntimeProject logicalProject) {
ButtonImagePolicyBuilder buttonBuilder =
(ButtonImagePolicyBuilder) policyBuilder;
MarinerURL baseURL = getBaseURL(actualProject, policyBuilder,
logicalProject);
PolicyReference reference;
reference = buttonBuilder.getUpPolicy();
reference = activateReference(logicalProject, baseURL, reference);
buttonBuilder.setUpPolicy(reference);
reference = buttonBuilder.getOverPolicy();
reference = activateReference(logicalProject, baseURL, reference);
buttonBuilder.setOverPolicy(reference);
reference = buttonBuilder.getDownPolicy();
reference = activateReference(logicalProject, baseURL, reference);
buttonBuilder.setDownPolicy(reference);
return new ActivatedButtonImagePolicyImpl(
buttonBuilder.getButtonImagePolicy(),
actualProject, logicalProject);
}