void (Collection<Library> selected) { for (Library library : myCreatedModuleLibraries) { if (!selected.contains(library)) { myClasspathPanel.getRootModel().getModuleLibraryTable().removeLibrary(library); } } }