Software Customisation
Reference Manual
Event Driven Graphics
:
Concepts
: Event Driven Graphics
Event Driven Graphics
Unlike the old style of graphical picking used by AVEVA E3Dâ„¢, which suspended the running of a macro until a graphical element had been picked. EDG is a state in which the graphical view gadget is put into, which defines criteria about how and what can be picked and how the picked item is interpreted. When an item is picked, an action is carried out, i.e. a macro, function or method is executed, similar to the callback on other gadgets types. What does not happen, as with the old macro suspended mechanism, is that all other forms and gadgets within the application, are still active.
What this means to the AppWare developer is that when writing a utility that uses the EDG system, the action carried out when a pick happens, can only be completed once all the pick information has been ascertained. Therefore, where an action requires two or more picks or the picked information was incorrect, the action routine must either cache the information until it has all the required pick information or it must instigate another event that setups the system for the subsequent picks.
The AppWare developer should now consider the graphic view gadget as any other gadget, i.e. on left-mouse-button up, the callback of the gadget will be actions.
What EDG allows from your point of view, is that you can have the graphics view in a EDG state, but you can still interact with any other form before you have completed the actual pick task. Whereas, pre-EDG you would have to complete all the picks for a utility, before anything else could be done.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.