Implement Cinco Events
This issue consists of two parts:
- Create an Event Hub
- Hub manages a set of subscribers
- Subscribers can be notified through the hub
- Hub triggers the execution of the
execute(...)
method of all notified subscribers
- Create an Event API
- Extends functionality of MGL annotations like
@postCreate
,@postMove
and so on - The Cinco user only has to add one
@event
annotation and implement one class for each model element (instead of one for each model element and event) - Events are "inherited" by default, if the model element has a super model element
- Utilises the Event Hub
- Extends functionality of MGL annotations like
Relevat branches:
- storek/eventhub
- storek/eventhub-develop
- 225-feature-request-mechanism-for-running-code-at-cinco-product-startup
For more information see the Wiki.
Edited by Fabian