* @return an application displaying that layout
*/
public DevApplication wrapLayout(Layout layout) {
// TODO: add a header to switch the style, etc
// TODO: add bookmark to set the style
final Root root;
if (server.getConfig().isDevelopmentHeader()) {
final VerticalSplitPanel mainLayout = new VerticalSplitPanel();
mainLayout.setSizeFull();
mainLayout.setSplitPosition(20, Sizeable.Unit.PIXELS);
mainLayout.setLocked(true);