|
|
![]() |
![]() |
![]() |
|
Contents Introduction Concepts User Help Modeler Help Browser Help
|
|||
![]() |
|||
![]() |
![]() |
Calc FieldsA calc field is any named property of type "Archie2Calc". Calc fields contain values that consist of little pieces of Smalltalk code which is executed whenever that particular property is displayed in any EVA Netmodeler browser. Although it is possible to execute any Smalltalk code snippet (up to 255 characters) using calc fields, a number of common Calc Fields Methods have been predefined to make the use of this feature easier for the user. Calc field help is provided directly from any interface where calc fields can be edited. To access the calc field help, simply edit an item that contains an Archie2Calc property. Select the The calc field help will give an example of each method and how it should be used. To follow the samples, create a sample item type and a named property of type "Archie2Calc", then add this property to the sample item type and you are ready to test calc fields For each example, go to the Unified Browser or the Item maintenance Browser, navigate to your new sample type and click on the "new" button to create a new instance of this type. You will notice that you are able to insert multiple lines next to the calc field named property. This is where you should enter your Smalltalk code snippet. When you click on the "Submit" button, the values for your new item instance will be displayed, you will notice that the result of executing your Smalltalk snippet will be displayed next to the calc field description. There is online help provided by the server for the calculation API. This is provided directly by the product to ensure it is always available and up to date with evolving releases. When you edit an item with a calc property, EVA Netmodeler presents a help button (?) next to the field. Simply click this for online help. Here is a sample screen from this facility:
|