UndoableEditSupport undoableEditSupport = new UndoableEditSupport();
for (String language : preferences.getSupportedLanguages()) {
preferences.setLanguage(language);
// Instantiate all views available in Sweet Home 3D
HomeController homeController = new HomeController(home, preferences, viewFactory, contentManager);
homeController.getView();
preferences.setFurnitureCatalogViewedInTree(false);
new FurnitureCatalogController(preferences.getFurnitureCatalog(), preferences, viewFactory, contentManager).getView();
preferences.setFurnitureCatalogViewedInTree(true);
new FurnitureCatalogController(preferences.getFurnitureCatalog(), preferences, viewFactory, contentManager).getView();
new FurnitureController(home, preferences, viewFactory).getView();
new PlanController(home, preferences, viewFactory, contentManager, undoableEditSupport).getView();
new HomeController3D(home, preferences, viewFactory, contentManager, undoableEditSupport).getView();
new PageSetupController(home, preferences, viewFactory, undoableEditSupport).getView();
new PrintPreviewController(home, preferences, homeController, viewFactory).getView();
new UserPreferencesController(preferences, viewFactory, contentManager).getView();
new HomeFurnitureController(home, preferences, viewFactory, contentManager, undoableEditSupport).getView();
new WallController(home, preferences, viewFactory, contentManager, undoableEditSupport).getView();
new RoomController(home, preferences, viewFactory, contentManager, undoableEditSupport).getView();
new LabelController(home, preferences, viewFactory, undoableEditSupport).getView();
new CompassController(home, preferences, viewFactory, undoableEditSupport).getView();
new Home3DAttributesController(home, preferences, viewFactory, contentManager, undoableEditSupport).getView();
new PhotoController(home, preferences, homeController.getHomeController3D().getView(), viewFactory, contentManager).getView();
new VideoController(home, preferences, viewFactory, contentManager).getView();
new TextureChoiceController("", preferences, viewFactory, contentManager).getView();
new ThreadedTaskController(new Callable<Void>() {
public Void call() throws Exception {