From efe23c9fe9c21270d566ed35fb5f13d1a3f3acca Mon Sep 17 00:00:00 2001 From: Uladzislau Date: Tue, 14 Jan 2025 19:48:25 +0100 Subject: [PATCH 1/3] Release/v2.2.0 is created Signed-off-by: Uladzislau --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 580036a5..87e67a05 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,7 +13,7 @@ # org.gradle.jvmargs=-Xss1M # SemVer format -> https://semver.org -pluginVersion=2.1.0 +pluginVersion=2.2.0 pluginGroup=eu.ibagroup pluginRepositoryUrl=https://github.com/for-mainframe/For-Mainframe From d70c400c2d8af37293c653abf7a8aeeca1ee17a7 Mon Sep 17 00:00:00 2001 From: Uladzislau Date: Mon, 27 Jan 2025 19:47:46 +0100 Subject: [PATCH 2/3] Small README change Signed-off-by: Uladzislau --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3afec0d2..c2b3becd 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ working set tree. ## Requirements -- IntelliJ IDEA version 2022.3 and later (Community will be enough) +- IntelliJ IDEA version 2023.1 and later (Community will be enough) - Java SDK 17 (IntelliJ built-in) ## Setup steps From 726fbd038a00251ade4162ba91708e7793a519ea Mon Sep 17 00:00:00 2001 From: Arseni Tsikhamirau Date: Tue, 28 Jan 2025 15:36:25 +0100 Subject: [PATCH 3/3] IJMP-2041-perform-refresh-concurrently-on-intersecting-nodes --- .../explorer/actions/CreateUssEntityAction.kt | 13 ++++--------- .../formainframe/explorer/ui/ExplorerTreeView.kt | 3 ++- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/main/kotlin/eu/ibagroup/formainframe/explorer/actions/CreateUssEntityAction.kt b/src/main/kotlin/eu/ibagroup/formainframe/explorer/actions/CreateUssEntityAction.kt index 947fa96c..9c70a53f 100644 --- a/src/main/kotlin/eu/ibagroup/formainframe/explorer/actions/CreateUssEntityAction.kt +++ b/src/main/kotlin/eu/ibagroup/formainframe/explorer/actions/CreateUssEntityAction.kt @@ -27,10 +27,8 @@ import eu.ibagroup.formainframe.common.ui.showUntilDone import eu.ibagroup.formainframe.config.connect.ConnectionConfig import eu.ibagroup.formainframe.config.connect.CredentialService import eu.ibagroup.formainframe.dataops.DataOpsManager -import eu.ibagroup.formainframe.dataops.RemoteQuery import eu.ibagroup.formainframe.dataops.attributes.RemoteUssAttributes import eu.ibagroup.formainframe.dataops.exceptions.CredentialsNotFoundForConnectionException -import eu.ibagroup.formainframe.dataops.fetch.UssQuery import eu.ibagroup.formainframe.dataops.getAttributesService import eu.ibagroup.formainframe.dataops.operations.UssAllocationOperation import eu.ibagroup.formainframe.dataops.operations.UssAllocationParams @@ -125,12 +123,6 @@ abstract class CreateUssEntityAction : AnAction() { progressIndicator = indicator ) - val fileFetchProvider = dataOpsManager - .getFileFetchProvider, MFVirtualFile>( - UssQuery::class.java, RemoteQuery::class.java, MFVirtualFile::class.java - ) - ussDirNode?.query?.let { query -> fileFetchProvider.reload(query) } - changeFileModeIfNeeded(file, allocationParams, connectionConfig, indicator) AnalyticsService.getService().trackAnalyticsEvent( @@ -140,7 +132,10 @@ abstract class CreateUssEntityAction : AnAction() { ) ) }.onSuccess { - ussDirNode?.cleanCache(false) + ussDirNode?.let { + view.myFsTreeStructure.findByPredicate { node -> node is FetchNode && node.query == it.query } + .forEach { node -> node.cleanCacheIfPossible(false) } + } res = true }.onFailure { t -> NotificationsService.errorNotification(t, project) diff --git a/src/main/kotlin/eu/ibagroup/formainframe/explorer/ui/ExplorerTreeView.kt b/src/main/kotlin/eu/ibagroup/formainframe/explorer/ui/ExplorerTreeView.kt index d8b1248e..8128d933 100644 --- a/src/main/kotlin/eu/ibagroup/formainframe/explorer/ui/ExplorerTreeView.kt +++ b/src/main/kotlin/eu/ibagroup/formainframe/explorer/ui/ExplorerTreeView.kt @@ -287,7 +287,8 @@ abstract class ExplorerTreeView) { events .mapNotNull { - val nodes = myFsTreeStructure.findByVirtualFile(it.file ?: return@mapNotNull null) + val eventFile = it.file ?: return@mapNotNull null + val nodes = myFsTreeStructure.findByVirtualFile(eventFile) when { this@ExplorerTreeView .ignoreVFSChangeEvents