{
presenter.loadTopology();
}
}));
SimpleLayout layout = new SimpleLayout()
.setTopLevelTools(topLevelTools)
.setTitle("Topology")
.setPlain(true)
.setHeadline("Hosts, groups and server instances")
.setDescription("An overview of all hosts, groups and server instances in the domain.");
container = new FlowPanel();
display = new HostsDisplay();
pager = new HostsPager();
pager.setDisplay(display);
pager.setPageSize(TopologyPresenter.VISIBLE_HOSTS_COLUMNS);
layout.addContent("topology", container);
// ---------------------
DefaultTabLayoutPanel tabLayoutpanel = new DefaultTabLayoutPanel(40, Style.Unit.PX);
tabLayoutpanel.addStyleName("default-tabpanel");
tabLayoutpanel.add(layout.build(), "Topology", true);
tabLayoutpanel.add(extensions.asWidget(), "Extensions", true);
tabLayoutpanel.selectTab(0);
return tabLayoutpanel;