From 8c668a4e6996dcc0bc2d40b537994bb1e9fa2df1 Mon Sep 17 00:00:00 2001 From: Dmitry Osinovskiy Date: Mon, 27 Oct 2025 21:13:03 +0100 Subject: [PATCH] [llm-vcs-grouped-diff] LLM-19751, make selection model public (cherry picked from commit 5d0d9f9e07e7496cca9765f02554daa38adacc21) IJ-CR-180581 GitOrigin-RevId: 687372dbf9c35a64a673b8a16192da425d13a522 --- .../vcs/changes/ui/NonSelectableNodeFilteringSelectionModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/vcs-impl/shared/src/com/intellij/openapi/vcs/changes/ui/NonSelectableNodeFilteringSelectionModel.kt b/platform/vcs-impl/shared/src/com/intellij/openapi/vcs/changes/ui/NonSelectableNodeFilteringSelectionModel.kt index c311613466b2..f51e8ab184e7 100644 --- a/platform/vcs-impl/shared/src/com/intellij/openapi/vcs/changes/ui/NonSelectableNodeFilteringSelectionModel.kt +++ b/platform/vcs-impl/shared/src/com/intellij/openapi/vcs/changes/ui/NonSelectableNodeFilteringSelectionModel.kt @@ -9,7 +9,7 @@ import javax.swing.tree.TreePath * SelectionModel that ignores selection requests for nodes marked with [ChangesBrowserNodeKeys.NON_SELECTABLE]. */ @ApiStatus.Internal -internal class NonSelectableNodeFilteringSelectionModel : DefaultTreeSelectionModel() { +class NonSelectableNodeFilteringSelectionModel : DefaultTreeSelectionModel() { private fun TreePath?.isNonSelectable(): Boolean { if (this == null) return false val node = this.lastPathComponent as? ChangesBrowserNode<*> ?: return false