Library | Package Java Toolkit

Interface FeatureActionListener

package com.ptc.pfc.pfcFeature;

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



Description

This class defines an action listener for features.



Method Summary
voidOnAfterCopy (Feature FromFeat, Feature ToFeat, FeatureCopyType Type)
    This is the listener method called after a successful feature copy.
voidOnAfterRegen (Feature Feat)
    This is the notification function called after a feature has been regenerated.
voidOnAfterSuppress (Feature Feat)
    This is the notification function called after a feature has been suppressed from a solid.
voidOnBeforeDelete (Feature Feat)
    This is the action listener called before deleting a feature.
voidOnBeforeParameterCreate (Feature Owner, String Name, ParamValue Value)
    This is the notification function called before a parameter is created. To abort parameter creation throw exception XCancelProEAction.
voidOnBeforeParameterDelete (Parameter Param)
    This is the listener method called before deleting a parameter. To abort parameter delete operation throw exception XCancelProEAction.
voidOnBeforeParameterModify (Parameter Param, ParamValue Value)
    This is the notification function called before a parameter is modified. To abort parameter modification throw exception XCancelProEAction.
voidOnBeforeRedefine (Feature Feat)
    This is the notification function called before a feature is redefined.
voidOnBeforeRegen (Feature Feat)
    This is the notification function called before a feature is regenerated.
voidOnBeforeSuppress (Feature Feat)
    This is the notification function called before a feature is suppressed.
voidOnRegenFailure (Feature Feat)
    This is the notification function called when a regeneration fails.

Method Detail

OnBeforeDelete

voidOnBeforeDelete (Feature Feat)


    This is the action listener called before deleting a feature.
Manual References:
Action Listeners: Feature Level Action Listeners, Action Listeners: Feature Level Action Listeners, Action Listeners: Cancelling an ActionListener Operation
Parameters:
Feat
The feature about to be deleted
Returns:


OnBeforeSuppress

voidOnBeforeSuppress (Feature Feat)


    This is the notification function called before a feature is suppressed.
Manual References:
Action Listeners: Feature Level Action Listeners, Action Listeners: Feature Level Action Listeners, Action Listeners: Cancelling an ActionListener Operation
Parameters:
Feat
The feature to be suppressed
Returns:


OnAfterSuppress

voidOnAfterSuppress (Feature Feat)


    This is the notification function called after a feature has been suppressed from a solid.
Manual References:
Action Listeners: Feature Level Action Listeners, Action Listeners: Feature Level Action Listeners
Parameters:
Feat
The feature that was suppressed
Returns:


OnBeforeRegen

voidOnBeforeRegen (Feature Feat)


    This is the notification function called before a feature is regenerated.
Manual References:
Action Listeners: Feature Level Action Listeners, Action Listeners: Feature Level Action Listeners
Parameters:
Feat
The feature to be regenerated
Returns:


OnAfterRegen

voidOnAfterRegen (Feature Feat)


    This is the notification function called after a feature has been regenerated.
Manual References:
Action Listeners: Feature Level Action Listeners, Action Listeners: Feature Level Action Listeners
Parameters:
Feat
The feature that was just regenerated
Returns:


OnRegenFailure

voidOnRegenFailure (Feature Feat)


    This is the notification function called when a regeneration fails.
Manual References:
Action Listeners: Feature Level Action Listeners, Action Listeners: Feature Level Action Listeners
Parameters:
Feat
The feature whose regeneration failed
Returns:


OnBeforeRedefine

voidOnBeforeRedefine (Feature Feat)


    This is the notification function called before a feature is redefined.
Manual References:
Action Listeners: Feature Level Action Listeners, Action Listeners: Feature Level Action Listeners, Action Listeners: Cancelling an ActionListener Operation
Parameters:
Feat
The feature to be redefined
Returns:


OnAfterCopy

voidOnAfterCopy (Feature FromFeat, Feature ToFeat, FeatureCopyType Type)


    This is the listener method called after a successful feature copy.
Manual References:
Action Listeners: Feature Level Action Listeners, Action Listeners: Feature Level Action Listeners
Parameters:
FromFeat
Feature to be copied
ToFeat
Target for copied feature
Type
Type of feature copy, for example, using the same references, flipped to a miror image, and so on.
Returns:


OnBeforeParameterCreate

voidOnBeforeParameterCreate (Feature Owner, String Name, ParamValue Value)


    This is the notification function called before a parameter is created. To abort parameter creation throw exception XCancelProEAction.

Manual References:
Action Listeners: Cancelling an ActionListener Operation
Parameters:
Owner
Owner feature of parameter.
Name
Name of the parameter.
Value
Value of the parameter.
Returns:


OnBeforeParameterModify

voidOnBeforeParameterModify (Parameter Param, ParamValue Value)


    This is the notification function called before a parameter is modified. To abort parameter modification throw exception XCancelProEAction.

Parameters:
Param
Name of the parameter.
Value
Value of the parameter.
Returns:


OnBeforeParameterDelete

voidOnBeforeParameterDelete (Parameter Param)


    This is the listener method called before deleting a parameter. To abort parameter delete operation throw exception XCancelProEAction.

Manual References:
Action Listeners: Feature Level Action Listeners, Action Listeners: Feature Level Action Listeners, Action Listeners: Cancelling an ActionListener Operation
Parameters:
Param
Parameter to be deleted
Returns: