panel.add(form.asWidget());
// ---------------------------------------------------
TabPanel bottomLayout = new TabPanel();
bottomLayout.addStyleName("default-tabpanel");
jvmEditor = new JvmEditor(presenter);
jvmEditor.setAddressCallback(new FormHelpPanel.AddressCallback() {
@Override
public ModelNode getAddress() {
ModelNode address = new ModelNode();
address.add("server-group", nameLabel.getText());
address.add("jvm", "*");
return address;
}
});
bottomLayout .add(jvmEditor.asWidget(), Console.CONSTANTS.common_label_virtualMachine());
propertyEditor = new PropertyEditor(presenter);
propertyEditor.setHelpText("A system property to set on all servers in this server-group.");
bottomLayout.add(propertyEditor.asWidget(), Console.CONSTANTS.common_label_systemProperties());
propertyEditor.setEnabled(false);
bottomLayout .selectTab(0);
panel.add(new ContentGroupLabel("Subresources"));
panel.add(bottomLayout);
return layout;