List<String> (final @NotNull DataContext dataContext) { ChangesTree shelvedChangeTree = dataContext.getData(SHELVED_CHANGES_TREE); if (shelvedChangeTree == null) return emptyList(); return VcsTreeModelData.selected(shelvedChangeTree).iterateUserObjects(ShelvedWrapper.class) .map(ShelvedWrapper::getPath).toList(); }