Library | Package Java Toolkit

Interface SessionActionListener

package com.ptc.pfc.pfcSession;

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



Description

This class specifies an action listener to notify you of session operations.



Method Summary
voidOnAfterDirectoryChange (String Path)
    Provides a notification function called after the current directory has been changed.
voidOnAfterModelDisplay ()
    Provides a notification function called after displaying a model.
voidOnAfterModelPurge (ModelDescriptor Desrc)
    This is the listener method called after purging a model.
voidOnAfterWindowChange ( /*optional*/ Window NewWindow)
    Provides a listener method called after changing a window in Creo Parametric.
voidOnBeforeModelCopy (DescriptorContainer2 Container)
    This is the listener method called before copying a model.
voidOnBeforeModelDelete ()
    This is the listener method called before deleting a model.
voidOnBeforeModelErase ()
    This is the stener method called before erasing a model.
voidOnBeforeModelPurge (DescriptorContainer Container)
    This is the listener method called before purging a model.
voidOnBeforeModelRename (DescriptorContainer2 Container)
    This is the listener method called before renaming a model.
voidOnBeforeModelSave (DescriptorContainer Container)
    This is the listener method called before saving a model.

Method Detail

OnAfterDirectoryChange

voidOnAfterDirectoryChange (String Path)


    Provides a notification function called after the current directory has been changed.
Manual References:
Action Listeners: Session Level Action Listeners, Action Listeners: Session Level Action Listeners
Parameters:
Path
The new path to the directory that was changed
Returns:


OnAfterWindowChange

voidOnAfterWindowChange ( /*optional*/ Window NewWindow)


    Provides a listener method called after changing a window in Creo Parametric.
Manual References:
Action Listeners: Session Level Action Listeners, Action Listeners: Session Level Action Listeners
Parameters:
NewWindow
The new window object.
Returns:


OnAfterModelDisplay

voidOnAfterModelDisplay ()


    Provides a notification function called after displaying a model.
Manual References:
Action Listeners: Session Level Action Listeners, Action Listeners: Session Level Action Listeners
Returns:


OnBeforeModelErase

voidOnBeforeModelErase ()


    This is the stener method called before erasing a model.
Manual References:
Action Listeners: Session Level Action Listeners, Action Listeners: Session Level Action Listeners, Action Listeners: Cancelling an ActionListener Operation
Returns:


OnBeforeModelDelete

voidOnBeforeModelDelete ()


    This is the listener method called before deleting a model.
Manual References:
Action Listeners: Session Level Action Listeners, Action Listeners: Cancelling an ActionListener Operation
Returns:


OnBeforeModelRename

voidOnBeforeModelRename (DescriptorContainer2 Container)


    This is the listener method called before renaming a model.
Manual References:
Action Listeners: Session Level Action Listeners, Action Listeners: Session Level Action Listeners, Action Listeners: Cancelling an ActionListener Operation
Parameters:
Container
Two model descriptors. Your application can fill in the descriptors, forcing the Creo Parametric interface to follow your naming conventions.
Returns:


OnBeforeModelSave

voidOnBeforeModelSave (DescriptorContainer Container)


    This is the listener method called before saving a model.
Manual References:
Action Listeners: Session Level Action Listeners, Action Listeners: Session Level Action Listeners, Action Listeners: Model Level Action listeners, Action Listeners: Cancelling an ActionListener Operation
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.
Returns:


OnBeforeModelPurge

voidOnBeforeModelPurge (DescriptorContainer Container)


    This is the listener method called before purging a model.
Manual References:
Action Listeners: Session Level Action Listeners, Action Listeners: Cancelling an ActionListener Operation
Parameters:
Container
A model descriptor.
Returns:


OnBeforeModelCopy

voidOnBeforeModelCopy (DescriptorContainer2 Container)


    This is the listener method called before copying a model.
Manual References:
Action Listeners: Session Level Action Listeners, Action Listeners: Session Level Action Listeners, Action Listeners: Cancelling an ActionListener Operation
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.
Returns:


OnAfterModelPurge

voidOnAfterModelPurge (ModelDescriptor Desrc)


    This is the listener method called after purging a model.
Manual References:
Action Listeners: Session Level Action Listeners
Parameters:
Desrc
 
Returns: