void (@NotNull DataContext dataContext) { List<ServiceViewItem> items = ServiceViewActionProvider.getSelectedItems(dataContext); if (!items.isEmpty()) { CopyPasteManager.getInstance().setContents(new StringSelection( StringUtil.join(items, item -> ServiceViewDragHelper.getDisplayName(item.getViewDescriptor().getPresentation()), "\n"))); } }