Library | File

Class pfcXCancelProEAction

# include <pfcExceptions.h>

class pfcXCancelProEAction
 : public virtual pfcXPFC
{
    xdeclare(pfcXCancelProEAction)
    ...
};
This is a COMPACT class.



Description

This exception should be thrown by the application during a pfcActionListener method in order to cancel a Creo Parametric event.
See Also:
pfcSessionActionListener::OnBeforeModelCopy(pfcDescriptorContainer2_ptr), pfcSessionActionListener::OnBeforeModelDelete(), pfcSessionActionListener::OnBeforeModelErase(), pfcSessionActionListener::OnBeforeModelPurge(pfcDescriptorContainer_ptr), pfcSessionActionListener::OnBeforeModelRename(pfcDescriptorContainer2_ptr), pfcSessionActionListener::OnBeforeModelSave(pfcDescriptorContainer_ptr), pfcModelActionListener::OnBeforeParameterCreate(pfcModel_ptr, xrstring, pfcParamValue_ptr), pfcModelActionListener::OnBeforeParameterDelete(pfcParameter_ptr), pfcModelActionListener::OnBeforeParameterModify(pfcParameter_ptr, pfcParamValue_ptr), pfcFeatureActionListener::OnBeforeDelete(pfcFeature_ptr), pfcFeatureActionListener::OnBeforeParameterCreate(pfcFeature_ptr, xrstring, pfcParamValue_ptr), pfcFeatureActionListener::OnBeforeParameterDelete(pfcParameter_ptr), pfcFeatureActionListener::OnBeforeRedefine(pfcFeature_ptr), pfcFeatureActionListener::OnBeforeSuppress(pfcFeature_ptr)
Manual References:
Overview of Creo Object TOOLKIT C++: Exception Handling, Menus, Commands, and Pop-up Menus: Bracket Listeners for Commands



Method Summary

static voidThrow ()
Call this method from the body of an appropriate pfcActionListener method to cancel the impending Creo Parametric operation.


Methods Inherited from Class pfcXPFC:

GetMessage



Method Detail

static voidThrow ()

Call this method from the body of an appropriate pfcActionListener method to cancel the impending Creo Parametric operation.
See Also:
pfcSessionActionListener::OnBeforeModelCopy(pfcDescriptorContainer2_ptr), pfcSessionActionListener::OnBeforeModelDelete(), pfcSessionActionListener::OnBeforeModelErase(), pfcSessionActionListener::OnBeforeModelPurge(pfcDescriptorContainer_ptr), pfcSessionActionListener::OnBeforeModelRename(pfcDescriptorContainer2_ptr), pfcSessionActionListener::OnBeforeModelSave(pfcDescriptorContainer_ptr), pfcModelActionListener::OnBeforeParameterCreate(pfcModel_ptr, xrstring, pfcParamValue_ptr), pfcModelActionListener::OnBeforeParameterDelete(pfcParameter_ptr), pfcModelActionListener::OnBeforeParameterModify(pfcParameter_ptr, pfcParamValue_ptr), pfcFeatureActionListener::OnBeforeDelete(pfcFeature_ptr), pfcFeatureActionListener::OnBeforeParameterCreate(pfcFeature_ptr, xrstring, pfcParamValue_ptr), pfcFeatureActionListener::OnBeforeParameterDelete(pfcParameter_ptr), pfcFeatureActionListener::OnBeforeRedefine(pfcFeature_ptr), pfcFeatureActionListener::OnBeforeSuppress(pfcFeature_ptr)
Manual References:
Action Listeners: Cancelling an ActionListener Operation, Interface: Importing 3D Geometry, Menus, Commands, and Pop-up Menus: Bracket Listeners for Commands
Returns: