This plugin contains modules for displaying a file browser to user.
Simple module to browse file or folder (without getting or saving anything).
flowchart LR
subgraph "FileBrowerModule"
direction LR
subgraph "Inputs"
end
subgraph "Parameters"
direction TB
subgraph Param1[selectDir]
direction TB
Param1Info["Type: boolean\nRequired: false\nDefault: false\nDesc: True if you want to select a directory, instead of a file"]
end
subgraph Param2[fileExtensions]
direction TB
Param2Info["Type: stringList\nRequired: false\nDesc: The file extensions filter, the format has to be like this: Text (*.txt)"]
end
subgraph Param3[fileDialogDirectory]
direction TB
Param3Info["Type: string\nRequired: false\nDesc: If given, the file dialog will open on this directory (if no previous value has been given)"]
end
Param1 ~~~ Param2
Param2 ~~~ Param3
end
subgraph "Outputs"
direction TB
subgraph Output1[filePathSelected]
direction TB
Output1Info["Type: string\nDesc: The file path selected"]
end
end
Inputs --> Parameters
Parameters --> Outputs
end
Useful module to browse file and store the value got in the permanent storage. The module memorizes in permanent storage the path chosen, and will reload it at start.
flowchart LR
subgraph "PermStoreFileBrowserModule"
direction LR
subgraph "Inputs"
direction TB
subgraph Input1[permStorageKey]
direction TB
Input1Info["Type: string\nDesc: The key of permanent storage to store the selected file"]
end
end
subgraph "Parameters"
direction TB
subgraph Param1[selectDir]
direction TB
Param1Info["Type: boolean\nRequired: false\nDefault: false\nDesc: True if you want to select a directory, instead of a file"]
end
subgraph Param2[fileExtensions]
direction TB
Param2Info["Type: stringList\nRequired: false\nDesc: The file extensions filter, the format has to be like this: Text (*.txt)"]
end
subgraph Param3[fileDialogDirectory]
direction TB
Param3Info["Type: string\nRequired: false\nDesc: If given, the file dialog will open on this directory (if no previous value has been given)"]
end
Param1 ~~~ Param2
Param2 ~~~ Param3
end
subgraph "Outputs"
direction TB
subgraph Output1[filePathSelected]
direction TB
Output1Info["Type: string\nDesc: The file path selected"]
end
end
Inputs --> Parameters
Parameters --> Outputs
end
Useful module to browse file and store the value got in the project cache. he module memorizes in project cache the path chosen, and will reload it at start. The project cache is only alive until the user closes the current project or close the apps.
flowchart LR
subgraph "ProjectCacheBrowserModule"
direction LR
subgraph "Inputs"
direction TB
subgraph Input1[projectCacheKey]
direction TB
Input1Info["Type: string\nDesc: The key of project cache to store the selected file"]
end
end
subgraph "Parameters"
direction TB
subgraph Param1[selectDir]
direction TB
Param1Info["Type: boolean\nRequired: false\nDefault: false\nDesc: True if you want to select a directory, instead of a file"]
end
subgraph Param2[fileExtensions]
direction TB
Param2Info["Type: stringList\nRequired: false\nDesc: The file extensions filter, the format has to be like this: Text (*.txt)"]
end
subgraph Param3[fileDialogDirectory]
direction TB
Param3Info["Type: string\nRequired: false\nDesc: If given, the file dialog will open on this directory (if no previous value has been given)"]
end
Param1 ~~~ Param2
Param2 ~~~ Param3
end
subgraph "Outputs"
direction TB
subgraph Output1[filePathSelected]
direction TB
Output1Info["Type: string\nDesc: The file path selected"]
end
end
Inputs --> Parameters
Parameters --> Outputs
end