Library | Module

Interface IpfcFileSaveRegisterListener



Description

Listener providing implementation for external functions registered by the application and capable of being used for Save operation.
Direct Parent Classes:
IpfcActionListener



Method Summary

FunctionFileSaveAccess (FileType as String, Model as IpfcModel) as Boolean
The callback function to decide if the file type should be selectable in File 'Save a Copy' dialog or not.
SubOnFileSaveRegister (FileType as String, Model as IpfcModel, FilePath as String)
This callback function is called upon pressing OK button on the File 'Save a Copy' dialog for the new registered type.



Method Detail


FunctionFileSaveAccess (FileType as String, Model as IpfcModel) as Boolean

The callback function to decide if the file type should be selectable in File 'Save a Copy' dialog or not.
Parameters:
FileType
The file type.
Model
The current model.
Returns:
Boolean indicating whether the file type is selectable.



SubOnFileSaveRegister (FileType as String, Model as IpfcModel, FilePath as String)

This callback function is called upon pressing OK button on the File 'Save a Copy' dialog for the new registered type.
Parameters:
FileType
The file type.
Model
The current model.
FilePath
The absolute path of file save location.