FileSurfer 2.1.2
Cross-platform file manager with support for Git and SFTP
Loading...
Searching...
No Matches
FileSurfer.Linux.Services.Shell.LinuxFileProperties Class Reference

Displays Linux file properties using Unix metadata and a platform-specific properties view model. More...

Inheritance diagram for FileSurfer.Linux.Services.Shell.LinuxFileProperties:
Collaboration diagram for FileSurfer.Linux.Services.Shell.LinuxFileProperties:

Public Member Functions

 LinuxFileProperties (IPropertiesVmFactory vmFactory)
 Creates a Linux file properties handler with the provided properties view model factory.
IResult ShowFileProperties (FileSystemEntryViewModel entry)
 Shows the file properties dialog for the specified entry.
bool SupportsOpenAs (IFileSystemEntry entry)
 Determines whether the specified entry supports an "Open With" action.
IResult ShowOpenAsDialog (IFileSystemEntry entry)
 Shows the "Open With" dialog for the specified entry.

Detailed Description

Displays Linux file properties using Unix metadata and a platform-specific properties view model.

Constructor & Destructor Documentation

◆ LinuxFileProperties()

FileSurfer.Linux.Services.Shell.LinuxFileProperties.LinuxFileProperties ( IPropertiesVmFactory vmFactory)
inline

Creates a Linux file properties handler with the provided properties view model factory.

Member Function Documentation

◆ ShowFileProperties()

IResult FileSurfer.Linux.Services.Shell.LinuxFileProperties.ShowFileProperties ( FileSystemEntryViewModel entry)
inline

Shows the file properties dialog for the specified entry.

Parameters
entryThe file-system entry whose properties should be displayed.
Returns
The operation result, including any error details if the dialog could not be shown.

Implements FileSurfer.Core.Services.Shell.IFileProperties.

Here is the call graph for this function:

◆ ShowOpenAsDialog()

IResult FileSurfer.Linux.Services.Shell.LinuxFileProperties.ShowOpenAsDialog ( IFileSystemEntry entry)
inline

Shows the "Open With" dialog for the specified entry.

Parameters
entryThe file-system entry to open through a selected application.
Returns
The operation result, including any error details if the dialog could not be shown.

Implements FileSurfer.Core.Services.Shell.IFileProperties.

◆ SupportsOpenAs()

bool FileSurfer.Linux.Services.Shell.LinuxFileProperties.SupportsOpenAs ( IFileSystemEntry entry)
inline

Determines whether the specified entry supports an "Open With" action.

Parameters
entryThe file-system entry to evaluate.
Returns
true when the platform can present an "Open With" dialog for the entry; otherwise, false.

Implements FileSurfer.Core.Services.Shell.IFileProperties.


The documentation for this class was generated from the following file: