<Class extends>
Section:
ClassDefs
Required:
No
Value type:
None
Default:
None
Product:
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
Description
Syntax
<Class extends="class_list">
An extended class definition contains tags that extend one or more previously defined Creo Elements/Direct Manager Server data classes. The class_list contains one or more class_names, enclosed in quotes ("") and separated by commas.
The only required tag within an extended class definition is <Name>; all other tags are optional.
The extended class inherits the definitions of the class(es) in the class_list. If the class_list contains more than one class, the order of precedence is left to right. After the class_list is processed, any items in the extended class definition that were not previously defined are added. If an item was previously defined and has a different definition in the extended class, the new definition overrides any previous definition.
An exception to this occurs if the class being extended includes one or more <InitialRev> tags. If the extended class does not contain <InitialRev> tags, any <InitialRev> tag values specified in the base class are inherited by the extended class. If an extended class contains any <InitialRev> tags, no <InitialRev> tag values are inherited from the base class.
Example
For examples of extended class definitions, look in wmconf.xml. The following is an example of the correct syntax for extending a class; however, it does not add any functionality.
<Class extends="DMModel, DMReleaseProcess">
<Name catalog="awm_stda" msg_num="258">MODEL_3D</Name>
<!-- your changes would go here -->
</Class>
Was this helpful?