stack.setStyleName("fill-layout-width");
// ----------------------------------------------------
subsysTree = new LHSNavTree("profiles");
DisclosurePanel subsysPanel = new DisclosureStackHeader("Profile").asWidget();
subsysPanel.setContent(subsysTree);
stack.add(subsysPanel);
// ----------------------------------------------------
Tree deploymentTree = new LHSNavTree("profiles");
deploymentTree.addItem(new LHSNavTreeItem("Manage Deployments", NameTokens.DeploymentListPresenter));
DisclosurePanel deplPanel = new DisclosureStackHeader("Deployments").asWidget();
deplPanel.setContent(deploymentTree);
stack.add(deplPanel);
// ----------------------------------------------------
Tree commonTree = new LHSNavTree("profiles");
DisclosurePanel commonPanel = new DisclosureStackHeader("General Configuration").asWidget();
commonPanel.setContent(commonTree);
LHSNavTreeItem[] commonItems = new LHSNavTreeItem[] {
/*new LHSNavTreeItem("Server", NameTokens.StandaloneServerPresenter),*/
new LHSNavTreeItem("Interfaces", NameTokens.InterfacePresenter),
new LHSNavTreeItem("Socket Binding Groups", NameTokens.SocketBindingPresenter),
new LHSNavTreeItem("System Properties", NameTokens.PropertiesPresenter)
};
for(LHSNavTreeItem item : commonItems)
{
commonTree.addItem(item);
}
stack.add(commonPanel);
layout.add(stack);