return EnumSet.noneOf(ResourceTypeRepository.MetadataType.class);
}
private Canvas getGridCanvas() {
if (this.gridCanvas == null) {
EnhancedVLayout layout = new EnhancedVLayout();
TitleBar titleBar = getTitleBar();
titleBar.setExtraSpace(10);
layout.addMember(titleBar);
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);
layout.addMember(sectionStack);
this.gridCanvas = layout;
// this will asynchronously populate the grids with the appropriate data
getNodeBuilderInstance(platformsList, platformServicesList, serversTreeGrid);
}