Developer Resource: Modelling Language

Track Changes "Comments Sidebar"

Goal: Demonstrate how HOTSPOTS and AdoScript triggers can be used to implement comment functionality, using the modelling area setup in ADOxx for positioning of comments. All commented information is stored in the modified instance and also an archive/history is kept for review.

Case: Enable commenting per instance through user interaction. For this version, the focus lies on presenting the comments in the modelling area as a write-protected lane.

 

Documentation:

Create Comment Bar.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. Define a modeltype specific attribute and graphical representation to enable and disable the comment mode in the model.
  4. Add attributes to store the comments and related meta-information in the model instances
  5. Add PROGRAMCALL attribute for classes that should be commentable
  6. 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 through the graphical notation

Implementation Result

Applied ADOxx Functionality

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