SectionStack sectionStack = new SectionStack();
sectionStack.setVisibilityMode(VisibilityMode.MULTIPLE);
ListGrid platformsList = getCustomResourceTypeListGrid();
SectionStackSection platforms = new SectionStackSection(MSG.view_adminTemplates_platforms());
platforms.setExpanded(true);
platforms.addItem(platformsList);
ListGrid platformServicesList = getCustomResourceTypeListGrid();
SectionStackSection platformServices = new SectionStackSection(MSG.view_adminTemplates_platformServices());
platformServices.setExpanded(true);
platformServices.addItem(platformServicesList);
TreeGrid serversTreeGrid = new CustomResourceTypeTreeGrid();
SectionStackSection servers = new SectionStackSection(MSG.view_adminTemplates_servers());
servers.setExpanded(true);
servers.addItem(serversTreeGrid);
sectionStack.addSection(platforms);
sectionStack.addSection(platformServices);
sectionStack.addSection(servers);