final TeamExplorerPageConfig page,
final TeamExplorerSectionConfig[] sections) {
final Composite composite = createPageHeaderContent(parent, page);
if (composite != null && !composite.isDisposed()) {
GridDataBuilder.newInstance().hFill().hGrab().applyTo(composite);
<BUG>}
if (sections != null) {</BUG>
for (int i = 0; i < sections.length; i++) {
final TeamExplorerSectionConfig section = sections[i];
Composite sectionComposite;

final TeamExplorerPageConfig page,
final TeamExplorerSectionConfig[] sections) {
final Composite composite = createPageHeaderContent(parent, page);
if (composite != null && !composite.isDisposed()) {
GridDataBuilder.newInstance().hFill().hGrab().applyTo(composite);
}
if (!context.isConnectedToCollection()) {
return;
}
if (sections != null) {
for (int i = 0; i < sections.length; i++) {
final TeamExplorerSectionConfig section = sections[i];
Composite sectionComposite;
