public MainWindow(String applicationName,
LibraryView library,
ApplicationsView apps,
EnginesView engines,
ContainersView containers,
InstallationsView installations,
SettingsView settings,
ThemeManager themeManager,
JavaFxSettingsManager javaFxSettingsManager) {
super();
tabPane = new TabPane();
tabPane.setId("menuPane");
tabPane.setTabClosingPolicy(TabPane.TabClosingPolicy.UNAVAILABLE);
tabPane.getTabs().addAll(library, apps, containers, engines, installations, settings);
this.scene = new PhoenicisScene(tabPane, themeManager, javaFxSettingsManager);
this.getIcons().add(new Image(
JavaFXApplication.class.getResourceAsStream("/org/phoenicis/javafx/views/common/phoenicis.png")));
this.setMinHeight(200);
this.setMinWidth(200);
this.setResizable(true);
this.setHeight(javaFxSettingsManager.getWindowHeight());
this.setWidth(javaFxSettingsManager.getWindowWidth());
this.setMaximized(javaFxSettingsManager.isWindowMaximized());
this.setScene(scene);
this.setTitle(applicationName);
this.show();
}