// Populate the root level of the explorer tree
resourceTree.populate();
}
private Widget createExplorerPanel() {
HorizontalSplitPanel explorerPanel = new HorizontalSplitPanel();
explorerPanel.setSize("100%", "100%");
explorerPanel.setSplitPosition("20%");
DisclosurePanel propertiesPanel = new DisclosurePanel(constants.propertiesDescripton(),true);
propertiesPanel.add(resourceGrid.getPropertyGrid());
propertiesPanel.setStyleName("application-DisclosurePanel");
DisclosurePanel nodeChildrenPanel = new DisclosurePanel(constants.subResourcesDescription(),true);
nodeChildrenPanel.add(resourceGrid.getResourceChildrenGrid());
nodeChildrenPanel.setStyleName("application-DisclosurePanel");
propertiesPanel.setAnimationEnabled(true);
nodeChildrenPanel.setAnimationEnabled(true);
FlexTable layout = new FlexTable();
layout.setCellSpacing(6);
layout.setWidget(0, 0, propertiesPanel);
layout.setWidget(1, 0, nodeChildrenPanel);
explorerPanel.setRightWidget(layout);
explorerPanel.setLeftWidget(resourceTree);
return explorerPanel;
}