Library | Module

Interface IpfcSessionActionListener



Description

This class specifies an action listener to notify you of session operations.
Direct Parent Classes:
IpfcActionListener



Method Summary

SubOnAfterDirectoryChange (Path as String)
Provides a notification function called after the current directory has been changed.
SubOnAfterModelDisplay ()
Provides a notification function called after displaying a model.
SubOnAfterModelPurge (Desrc as IpfcModelDescriptor)
This is the listener method called after purging a model.
SubOnAfterWindowChange (NewWindow as IpfcWindow [optional])
Provides a listener method called after changing a window in Creo Parametric.
SubOnBeforeModelCopy (Container as IpfcDescriptorContainer2)
This is the listener method called before copying a model.
SubOnBeforeModelDelete ()
This is the listener method called before deleting a model.
SubOnBeforeModelErase ()
This is the stener method called before erasing a model.
SubOnBeforeModelPurge (Container as IpfcDescriptorContainer)
This is the listener method called before purging a model.
SubOnBeforeModelRename (Container as IpfcDescriptorContainer2)
This is the listener method called before renaming a model.
SubOnBeforeModelSave (Container as IpfcDescriptorContainer)
This is the listener method called before saving a model.



Method Detail


SubOnAfterDirectoryChange (Path as String)

Provides a notification function called after the current directory has been changed.
Parameters:
Path
The new path to the directory that was changed



SubOnAfterModelDisplay ()

Provides a notification function called after displaying a model.



SubOnAfterModelPurge (Desrc as IpfcModelDescriptor)

This is the listener method called after purging a model.
Parameters:
Desrc
 



SubOnAfterWindowChange (NewWindow as IpfcWindow [optional])

Provides a listener method called after changing a window in Creo Parametric.
Parameters:
NewWindow
The new window object.



SubOnBeforeModelCopy (Container as IpfcDescriptorContainer2)

This is the listener method called before copying a model.
Parameters:
Container
Two model descriptors; your listener method may fill in the descriptors. This will force the Creo Parametric UI to use yournaming rules for new models.



SubOnBeforeModelDelete ()

This is the listener method called before deleting a model.



SubOnBeforeModelErase ()

This is the stener method called before erasing a model.



SubOnBeforeModelPurge (Container as IpfcDescriptorContainer)

This is the listener method called before purging a model.
Parameters:
Container
A model descriptor.



SubOnBeforeModelRename (Container as IpfcDescriptorContainer2)

This is the listener method called before renaming a model.
Parameters:
Container
Two model descriptors. Your application can fill in the descriptors, forcing the Creo Parametric interface to follow your naming conventions.



SubOnBeforeModelSave (Container as IpfcDescriptorContainer)

This is the listener method called before saving a model.
Parameters:
Container
User should initialize this object with the model name to be saved in callback. If it is not initialized, the system prompts for the model name interactively.