Developer Resource: Mechanisms and Algorithms

Track Changes "Changed Name"

Goal: Demonstrate how events in ADOxx can be used to catch the change of content of objects and trigger respective AdoScripts.

Case: In addition to commenting, tracking the movement, changes in the model content are captured and result in a highlight of the change in the modelling area.

 

Documentation:

Changed Name.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. Add an attribute that keeps track of the "old" name value to show in the graphical representation
  5. Udpate the graphical representation to evaluate the attribute in 3) and 4) and change the graphical appearance accordingly.

Mechanisms and Algorithms Implementation

  1. Implement AdoScripts to update the change flag attribute in the AfterEditAttributeValue 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.