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:

Changed Position.pdf

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.

  1. Implement the concrete modelling classes of the domain
  2. Define modeltype and assign classes
  3. 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)
  4. Udpate the graphical representation to evaluate the attribute in 3) and change the graphical appearance accordingly.

Mechanisms and Algorithms Implementation

  1. 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

Average (0 Votes)
The average rating is 0.0 stars out of 5.
No comments yet. Be the first.