form.setFields(name, version, module, subsystem, compat);
form.bind(extensionTable);
MultipleToOneLayout layout = new MultipleToOneLayout()
.setTitle("Extensions")
.setPlain(true)
.setHeadline("Subsystem Extensions")
.setDescription(Console.MESSAGES.extensions_description())
.setMaster(Console.MESSAGES.available("Extensions"), extensionTable)
.addDetail("Attributes", form.asWidget());
// debug util only available in hosted mode
ToolStrip tools = new ToolStrip();
tools.addToolButtonRight(new ToolButton(Console.CONSTANTS.common_label_export(), new ClickHandler() {
@Override
public void onClick(ClickEvent clickEvent) {
presenter.onDumpVersions();
}
}));
layout.setMasterTools(tools);
return layout.build();
}