« 返回

Follow Up "Multiple Inheritance": Event Handlers in ADOxx

組合檢視 平均檢視 瀏覽樹狀資料
相關串連 [ 前一個 | 下一個 ]
toggle
Follow Up "Multiple Inheritance": Event Handlers in ADOxx
community class relation documentation
答覆
2014/3/27 上午 11:15
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
答覆
2013/7/26 上午 10:41 作為回覆給匿名
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
附件

附件: EventHandler.jpg (61.3k)

Events used for the Multiple Inheritance Proposal 2.b
答覆
2013/6/18 下午 6:05 作為回覆給匿名
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