Developer Resource: Mechanisms and Algorithms

Track Changes "Comments"

Goal: Demonstrate how HOTSPOTS and AdoScript triggers can be used to implement comment functionality, including basic positioning mechanisms of comments in the modelling area.

Case: Enable commenting per instance through user interaction. For this version, the focus lies on the interaction and presentation of comments on the UI. Comments can be added and also deleted by the modeller. Revision safety mechanisms are currently not considered.

 

Documentation:

Create Comment BOx.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. Implement a concrete modelling class "Comment Box"
  4. Add PROGRAMCALL attribute for classes that should be commentable
  5. Update graphical representation to add HOTSPOTs for adding and deleting comments

Mechanisms and Algorithms Implementation

  1. Implement AdoScripts for add and delete action
  2. Assign AdoScript to PROGRAMCALL

Implementation Result

Applied ADOxx Functionality

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