tool.addCommand(new RendererCommand(tool, format));
tool.addCommand(new ModelsCommand(format, buffer, tool));
if (format.supportsEvents()) {
tool.addCommand(new SelectEventCommand(format, tool));
}
if (format.supportsRequests()) {
tool.addCommand(new SelectRequestCommand(format, tool));
}
tool.addCommand(new ScrollbarCommand(tool, buffer));
tool.setLineNumbers(BasicLineNumberIndex.create(buffer));