List<IPropertySource> list = new ArrayList<IPropertySource>();
List<Node> children = getChildrenList();
for (Node node : children) {
IPropertySource propertySource = null;
if (node instanceof IPropertySourceProvider) {
IPropertySourceProvider provider = (IPropertySourceProvider) node;
propertySource = provider.getPropertySource(node);
if (propertySource != null) {
list.add(propertySource);
}
}
if (propertySource == null && node instanceof RefreshableCollectionNode) {