_selectedObjectPackageErrorList = ListUtil.list();
if (selectedObject() != null) {
List components = childrenForPackage(selectedObject());
for (int i = 0, size = components.size(); i < size; i++) {
String componentName = (String) components.get(i);
AWComponentDefinition componentDefinition = AWComponentApiManager.componentDefinition(componentName);
if (componentDefinition.validationErrorCount() != 0) {
addToComponentNameErrorList(_selectedObjectPackageErrorList,componentDefinition.bindingErrorList(),componentName);
}
if (componentDefinition.componentApiErrorCount() != 0) {
addUnsupportedBindingDefinitions(_selectedObjectPackageErrorList,componentDefinition.unsupportedBindingDefinitions(),componentName);
addMissingSupportedBindingDefinitions(_selectedObjectPackageErrorList,componentDefinition.missingSupportedBindingDefinitions(),componentName);
addInvalidBindingAlternates(_selectedObjectPackageErrorList,componentDefinition.invalidComponentBindingApiAlternates(), componentName);
addMismatchedBindingAlternates(_selectedObjectPackageErrorList,componentDefinition.mismatchedComponentBindingApiAlternates(), componentName);
addToComponentNameErrorList(_selectedObjectPackageErrorList,componentDefinition.templateParsingErrors(),componentName);
}
}
}
}
return _selectedObjectPackageErrorList;