This is an automated email from the ASF dual-hosted git repository.
bamaer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git
The following commit(s) were added to refs/heads/main by this push:
new fc2223eebb VFS File Explorer: show "Loading..." in a folder of the
tree while it is listed, fixes #9580 (#9581)
fc2223eebb is described below
commit fc2223eebb163d1a745a60a43294778710a34292
Author: Nicolas Adment <[email protected]>
AuthorDate: Thu Nov 19 07:51:33 2026 +0100
VFS File Explorer: show "Loading..." in a folder of the tree while it is
listed, fixes #9580 (#9581)
Co-authored-by: Claude Fable 5.2 <[email protected]>
---
.../apache/hop/ui/hopgui/vfs/explorer/VfsFileExplorerLocation.java | 4 +++-
.../hop/ui/hopgui/vfs/explorer/messages/messages_en_US.properties | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git
a/ui/src/main/java/org/apache/hop/ui/hopgui/vfs/explorer/VfsFileExplorerLocation.java
b/ui/src/main/java/org/apache/hop/ui/hopgui/vfs/explorer/VfsFileExplorerLocation.java
index a1eda8bd14..90f80f4d53 100644
---
a/ui/src/main/java/org/apache/hop/ui/hopgui/vfs/explorer/VfsFileExplorerLocation.java
+++
b/ui/src/main/java/org/apache/hop/ui/hopgui/vfs/explorer/VfsFileExplorerLocation.java
@@ -1836,7 +1836,9 @@ public class VfsFileExplorerLocation extends Composite {
child.setText(row.getName());
child.setImage(folderImage);
child.setData(new FolderNode(row.getUri(), row.getName()));
- new TreeItem(child, SWT.NONE);
+ // Shown while the folder is listed, the listing replaces it with the
sub-folders
+ new TreeItem(child, SWT.NONE)
+ .setText(BaseMessages.getString(PKG,
"VfsFileExplorer.Tree.Loading"));
}
}
diff --git
a/ui/src/main/resources/org/apache/hop/ui/hopgui/vfs/explorer/messages/messages_en_US.properties
b/ui/src/main/resources/org/apache/hop/ui/hopgui/vfs/explorer/messages/messages_en_US.properties
index 48923f142d..8f6ece2786 100644
---
a/ui/src/main/resources/org/apache/hop/ui/hopgui/vfs/explorer/messages/messages_en_US.properties
+++
b/ui/src/main/resources/org/apache/hop/ui/hopgui/vfs/explorer/messages/messages_en_US.properties
@@ -88,6 +88,7 @@ VfsFileExplorer.Error.Title=VFS File Explorer
VfsFileExplorer.Error.Bookmark=Could not save bookmarks
VfsFileExplorer.Error.TooManyRunning=More than {0} operations are still
running. Stop or wait for some of them, or check whether a server stopped
responding.
VfsFileExplorer.Operation.Listing=Listing {0}
+VfsFileExplorer.Tree.Loading=Loading...
VfsFileExplorer.Operation.Opening=Opening {0}
VfsFileExplorer.Operation.Deleting=Deleting {0}
VfsFileExplorer.Operation.Creating=Creating folder {0}