public List<String> getAllValues(PreferenceEntity.Property property) {
if (property.getTemplateComponentName() == null || property.getTemplateComponentName().length() == 0)
throw new RuntimeException("No value template component name " + property);
PreferenceValueTemplate template =
(PreferenceValueTemplate)Component.getInstance(property.getTemplateComponentName());
if (template == null)
throw new RuntimeException("Couldn't find template component name: " + property.getTemplateComponentName());
return template.getTemplateValues();
}