/** * Populates the given tab descriptors with section descriptors. */ protected void populateWithSectionDescriptors(List aTabDescriptors) { ISectionDescriptor[] sections = null; if (sectionDescriptorProvider != null) { sections = sectionDescriptorProvider.getSectionDescriptors(); } else { sections = readSectionDescriptors(); } for (ISectionDescriptor section : sections) { appendToTabDescriptor(section, aTabDescriptors); } }