subsysRoot = new TreeItem("Subsystems:");
subsysTree.addItem(subsysRoot);
subsysLayout.add(subsysTree);
stack.add(subsysLayout, new StackSectionHeader("Profile"), 28);
// ----------------------------------------------------
LayoutPanel dplLayout = new LayoutPanel();
dplLayout.setStyleName("stack-section");
LHSNavItem[] dplItems = new LHSNavItem[] {
new LHSNavItem("Web Applications", "server-deployments;type=web"),
new LHSNavItem("Enterprise Applications", "server-deployments;type=ee"),
new LHSNavItem("Resource Adapters", "server-deployments;type=jca"),
new LHSNavItem("Other", "server-deployments;type=other")
};
int i =0;
for(LHSNavItem item : dplItems)
{
dplLayout.add(item);
dplLayout.setWidgetTopHeight(item, i, Style.Unit.PX, 25, Style.Unit.PX);
i+=25;
}
//stack.add(dplLayout, new StackSectionHeader("Deployments"), 28);
// ----------------------------------------------------
LayoutPanel commonLayout = new LayoutPanel();
commonLayout.setStyleName("stack-section");
LHSNavItem[] commonItems = new LHSNavItem[] {
new LHSNavItem("Paths", "server/server-paths"),
new LHSNavItem("Interfaces", "server/server-interfaces"),
new LHSNavItem("Socket Binding Groups", "server/server-sockets"),
new LHSNavItem("System Properties", "server/server-properties")
};
i =0;
for(LHSNavItem item : commonItems)
{
commonLayout.add(item);
commonLayout.setWidgetTopHeight(item, i, Style.Unit.PX, 25, Style.Unit.PX);
i+=25;
}
stack.add(commonLayout, new StackSectionHeader("General Config"), 28);
}