JComponent () { myLibraryEditorComponent = new LibraryRootsComponent(myProject, this::getLibraryEditor); myLibraryEditorComponent.addListener(() -> { myContext.getDaemonAnalyzer().queueUpdate(myProjectStructureElement); updateName(); }); return myLibraryEditorComponent.getComponent(); }