Library | Package Java Toolkit

Interface FileSaveRegisterListener

package com.ptc.pfc.pfcUI;

public interface FileSaveRegisterListener
  extends com.ptc.pfc.pfcBase.ActionListener



Description

Listener providing implementation for external functions registered by the application and capable of being used for Save operation.



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

Method Detail

FileSaveAccess

booleanFileSaveAccess (String FileType, Model Model)


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


OnFileSaveRegister

voidOnFileSaveRegister (String FileType, Model Model, String FilePath)


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