listValues.add(new ChoiceListValue(nodeType
.getLabel(locale), new HashMap<String, Object>(),
new ValueImpl(nodeType.getName(),
PropertyType.STRING, false)));
}
NodeTypeIterator nti = nodeType.getSubtypes();
while (nti.hasNext()) {
ExtendedNodeType type = (ExtendedNodeType) nti.next();
if (!isExcludedType(type, excludedTypes)) {
listValues.add(new ChoiceListValue(type
.getLabel(locale),
new HashMap<String, Object>(), new ValueImpl(
type.getName(), PropertyType.STRING,