Developer Resource: Mechanisms and Algorithms
Track Changes "Moved Objects"
Goal: Demonstrate how events in ADOxx can be used to catch the moving of objects and trigger respective AdoScripts.
Case: In addition to commenting a model, changes in the model with respect to positioning are captured and result in a "marking"/highlight of the change in the modelling area.
Documentation:
Downloads


Script Files
ADOxx Realisation Approach
Modelling Language Implementation
Step 1 and 2 can be skipped if your ADOxx implementation is available and should be used.
- Implement the concrete modelling classes of the domain
- Define modeltype and assign classes
- Add an attribute that keeps track of changes (can be done on the root element, to enable the functionality for all classes in the implementation)
- Udpate the graphical representation to evaluate the attribute in 3) and change the graphical appearance accordingly.
Mechanisms and Algorithms Implementation
- Implement AdoScripts to update the change flag attribute in the SetAttributeValue event.
Implementation Result
Applied ADOxx Functionality
ADOxx Constructs for Modelling Language Implementation
ADOxx Constructs for Mechanisms & Algorithms Implementation