It allows you to configure the methods of the component.
The created methods are listed on the left side, and properties of the selected method are displayed on the right side.
This table describes the properties of the method.
| Field | Description |
|---|---|
| Method Name | Name of the method |
| Symbol | Name of the symbol (the same name as in the left window) |
| GetTextValueIndex | Determines if the item define index otherwise text value. This feature is ignored if the item type contains user defined symbols for each item. If this feature is TRUE for boolean item, symbol is defined/undefined according to item's value. |
| Hint | Hint displayed in the Processor Expert environment and method description of the help file |
| IsInAssembler | If the method is implemented in Assembler or in C |
| IsInDefinitionModule | If this feature is unchecked (method is not visible in the Component Inspector), but still want the method to be generated into the header file |
| ItemLevel | It determines at what configuration level of Processor Expert in CodeWarrior this property will be shown. If set as Basic, the property will be shown when basic view is selected. If set as Expert, it will only be shown when expert view is selected |
| MethodScope | How the method will be inherited by default |
| PublicMethod | If checked the method will be displayed in the Processor Expert Component Inspector |
| ReadOnly | If the method is in Processor Expert read only that is the Value cannot be changed (generate code or don't generate code) |
| ReturnHint | Hint for the return type, displayed in the Processor Expert environment (default value you may set in Options - Default values page) |
| ReturnType | Type of the returned value (void means that the method has no return value) |
| Selected | Generation source code into the driver (in Processor Expert code design). There are four possibilities:
|
| TypeChangeAble | It determines if the item's type may be changeable in CHG script |
To view parameters of a Method; click Parameters tab of the Component Editor.
This table explain the fields of Method Parameters.
| Field | Description |
|---|---|
| Name | Name of the parameter displayed and used in Processor Expert |
| Type | Type of the parameter (selected from the list) |
| Passing | How the parameter is passed to the method |
| Hint | Hint for the parameter displayed in the Processor expert environment and parameter description in help files |