void (@NotNull MavenProjectsTree newTree) { if (!isInitialized()) { initAndActivate(); scheduleUpdateAllMavenProjects(new MavenImportSpec(false, true, false)); } newTree.addListenersFrom(myProjectsTree); myProjectsTree = newTree; myWatcher.setProjectTree(newTree); }