void (final ProjectStructureElement newElement) { Library library = ((LibraryProjectStructureElement)newElement).getLibrary(); PackagingElement<?> newLibraryElement = PackagingElementFactory.getInstance().createLibraryFiles(library.getName(), library.getTable().getTableLevel(), null); replaceElement(newLibraryElement); }