« Back to CIDOC-CRM Project

Follow Up "Multiple Inheritance": Event Handlers in ADOxx

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Follow Up "Multiple Inheritance": Event Handlers in ADOxx
community class relation documentation
Answer
3/27/14 11:15 AM
This question was raised after analysing the FAQ entry Multiple Inheritance and proceeding with solution 2.

Which event handlers do I need and when are they invoked?

General Introduction: Event Handlers
Answer
7/26/13 10:41 AM as a reply to Anonymous.
ADOxx provides a set of event handlers that are invoked from ADOxx in various user interaction. Please note that those events are invoked on meta-meta model level, so sometimes they seem a bit odd when only having the application in mind. (e.g. listing on attribute changes of objects may result in several events, although on application level the event seems much simpler)

For an overview on events available, please have a look at the online help in the Development tookit (press F1 with the Development tookit in focus)

A sample implementation can be downloaded in Solution Sample 2b V2: DOWNLOAD
Attachment

Attachments: EventHandler.jpg (61.3k)

Events used for the Multiple Inheritance Proposal 2.b
Answer
6/18/13 6:05 PM as a reply to Anonymous.
We are looking on the creation of a relation and a deletion of the relation to enable proper reaction at the pointer (interref).

- ON_EVENT "CreateRelationInstance" { ... } for adding an interref when a new connector is drawn
- ON_EVENT "DeleteRelationInstance" { ... } for deleting an interref when a connector is deleted