public Widget createWidget() {
moduleView = new EEModulesView(presenter);
attributesView = new EEGlobalAttributesView(presenter);
DefaultTabLayoutPanel tabLayoutpanel = new DefaultTabLayoutPanel(40, Style.Unit.PX);
tabLayoutpanel.addStyleName("default-tabpanel");
OneToOneLayout layout = new OneToOneLayout()
.setPlain(true)
.setHeadline("Global EE Settings")
.setDescription(Console.CONSTANTS.subsys_ee_desc())
.addDetail("Deployments", attributesView.asWidget())
.addDetail("Global Modules", moduleView.asWidget());
if(!isLegacyView()) {
bindingsView = new BindingsView(presenter);
layout.addDetail("Default Bindings", bindingsView.asWidget());
}
tabLayoutpanel.add(layout.build(), "EE Subsystem", true);
if(!isLegacyView()) {
servicesView = new EEServicesView(presenter);
tabLayoutpanel.add(servicesView.asWidget(), "Services", true);
}
tabLayoutpanel.selectTab(0);
return tabLayoutpanel;
}