new BoxLayout(BoxLayout.Orientation.VERTICAL)
);
layoutPanel.setPadding(5);
// console info
Label console = new Label("Console Info");
console.setStyleName("bpm-label-header");
layoutPanel.add(console, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
Grid g1 = new Grid(1,2);
g1.setWidget(0,0, new Label("Version:"));
g1.setWidget(0,1, new Label(Version.VERSION));
g1.getColumnFormatter().setWidth(0, "20%");
layoutPanel.add(g1, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
// server info
Label server = new Label("Server Info");
server.setStyleName("bpm-label-header");
layoutPanel.add(server, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
ServerStatusView serverStatus = new ServerStatusView(appContext);
serverStatus.initialize();
Grid g2 = new Grid(1,2);
g2.setWidget(0,0, new Label("Host:"));
g2.setWidget(0,1, new Label(appContext.getConfig().getConsoleServerUrl()));
g2.getColumnFormatter().setWidth(0, "20%");
layoutPanel.add(g2, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
LayoutPanel pluginPanel = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
Label label = new Label("Plugins:");
label.setStyleName("bpm-label-header");
pluginPanel.add(label);
pluginPanel.add(serverStatus);
layoutPanel.add(pluginPanel, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));