Developer Resource: Modelling Language
Bar Display View
Goal: To display a model in the drawing area in the form of a set of bars, with attributes for objects neatly displayed in the appropriately labelled bar.The model itself can be both a graph or a pool and the objects (modelling instances) are centrally displayed in the Modelling Area. The values of some selected attributes are displayed on both sides on the modelling area, as defined by the developer.
Case: This solution allows the activation/deactivation of the bar display, selecting the orientation of the modelling area (horizontal/vertical), selection of visible attributes (bars) and much more.
Documentation:
Sample Model:
Downloads


ADOxx Realisation Approach
Modelling Language Implementation
- Implement the concrete modelling classes of the domain
- Define modeltypes and assign classes
- Udpate the graphical representation of the drawing area (using model type GraphRep) and of the classes defined
Mechanisms and Algorithms Implementation
- Implement AdoScripts to toggle the Bar Display view off and on
- Implement AdoScripts firstly for the drawing of bars in the drawing area and secondly for the reading of attribute values and the placement of these values in the appropriate bars
Implementation Result
Applied ADOxx Functionality
ADOxx Constructs for Modelling Language Implementation
ADOxx Constructs for Mechanisms & Algorithms Implementation