ExistingLibraryEditor (final Library library) { final ExistingLibraryEditor libraryEditor = new ExistingLibraryEditor(library, myLibraryEditorListener); myLibrary2EditorMap.put(library, libraryEditor); return libraryEditor; }