private void initViews(Workbench model) {
    toolbarView = new ToolbarView();
    toolbarPresenter = new ToolbarPresenter(model, toolbarView);

    addModuleView = new AddModuleView();
    addModulePresenter = new AddModulePresenter(model, addModuleView);

    contentView = new ContentView(addModuleView);
    contentPresenter = new ContentPresenter(model, contentView);

    workbenchView = new WorkbenchView(toolbarView, addModuleView, contentView);
    workbenchPresenter = new WorkbenchPresenter(model, workbenchView);

    // if there is only one module in the workbench, open it automatically
    if (model.isSingleModuleLayout()) {
      Platform.runLater(() -> model.openModule(model.getModules().get(0)));
    }
  }
Creates a skin for a given {@link Workbench}.
Contains all views and presenters and sets also the default stylesheet.

@param workbench for which this skin is created
workbenchfx-core/src/main/java/com/dlsc/workbenchfx/WorkbenchSkin.java