CATPLMUIInterfaces Interface CATIPLMNewEnginePublic
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIPLMNewEnginePublic
Method Index
- o
AssociateListener(CATIPLMNewEngineListenerPublic_var&)
-
- o
SetAttributeValue(CATICkeParm_var&)
- Set a value for an attribute
- o
SetType(CATIType_var&)
- this method MUST BE called for PLM object creation.
- o
StartNew()
- this method MUST BE called for PLM object creation.
Methods
o AssociateListener
public virtual HRESULT AssociateListener( | const CATIPLMNewEngineListenerPublic_var& | ihListenerCaller) = 0 |
-
- Parameters:
-
- ihListenerCaller
- the caller listener to the creation process so that the caller is warned when the object is created
- Returns:
-
- S_OK : the listener has been associated.
- E_FAIL: the listener has not been associated.
o SetAttributeValue
public virtual HRESULT SetAttributeValue( | const CATICkeParm_var& | ihParm) = 0 |
-
Set a value for an attribute
- Parameters:
-
- ihParm
- the Parameter containing the default value, the name of the parameter must be the attribute name, the parameter must have the same type as the attribute
the value will be set on the created object if the attribute is found in the create mask of the object and its right access is read/write ( attribute can be modified interactively)
When setting the value on the object, same rules as interactive modification in terms of Business Logic are applied ( Propagation, check, Finalization )
- Returns:
-
- S_OK : the attribute registration is OK.
- E_FAIL: the attribute registration is not OK.
o SetType
public virtual HRESULT SetType( | const CATIType_var& | ihObjectType) = 0 |
-
this method MUST BE called for PLM object creation.
- Parameters:
-
- ihObjectType
- Knowledge type of the object to create. This type can be retrieved with the
CATCkePLMNavPublicServices::RetrieveKnowledgeType method exposed by
PLMDictionaryNavServices
- Returns:
-
- S_OK : the type can be created.
- E_FAIL : an object of this type cannot be created.
- due to non implementation of the creation of the type
- S_OK if an object of this type can be created *
o StartNew
public virtual HRESULT StartNew( | )= 0 |
-
this method MUST BE called for PLM object creation.
Start the creation step.
- Returns:
-
- S_OK always return for this release
This object is included in the file: CATIPLMNewEnginePublic.h
If needed, your Imakefile.mk should include the module: CATPLMUIInterfaces
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.