HCL RTist provides software engineers with feature-rich tools for designing, analyzing, building, debugging and deploying real-time applications.

Supporting the Unified Modeling Language (UML) and its real-time profile (UML-RT), RTist allows developers to design their applications at a higher abstraction level than code.

UML-RT models within HCL RTist can now be examined from different perspectives.

Take for example, the third-party extension MetaModelAgent from Adocus.

If you would like to track potential transitions starting from a specific state, select MetaModelAgent->Show in Trace Tree View->Outgoing References->Potential Transition Paths in the context menu.

A tree view displays the path of all explicitly modeled transitions, and implicit transitions, according to state machine semantics.

 

Trace Tree View State Paths

 

If you would like to see an overview of the usage of protocols for all your capsules, select the root elements in all your models and select MetaModelAgent->Show in Trace Matrix View->General UML Guidelines->Compartment Elements->Port in the context menu. A matrix view displays which capsules uses which protocols. The color in the cells indicates the number of ports within the capsule that uses the same protocol. Hovering over the cells reveals the name of the ports.

 

Trace Matrix View Ports

 

If you would like to see an overview of all connections where a specific protocol is used. Select the protocol and select MetaModelAgent->Show in Trace Matrix View->All Connectors Using Protocol in the context menu. A matrix view will display all connectors that uses the selected protocol within all loaded models.

 

Trace Matrix View Protocols

 

If your state machine diagram or composite structure diagram is cluttered and therefor difficult to read. Click on the diagram canvas and select MetaModelAgent->Show in Trace Matrix View->Visible Connections in the context menu.

All the connection between the visible nodes in the diagram will then be displayed in an easy to read matrix view.

 

Trace Matrix View Connectors

 

If you would like to compare the “size” of your capsules in terms of nested and optionally inherited elements, select all root elements of your models and select MetaModelAgent->Show in Chart View->Nested Element Bar Chart->General UML-RT Extensions->RT Capsule in the context menu.

An empty Chart View will appear where you set the nesting depth of interest and if inherited elements should be included or not. Then press Apply and a colored bar chart will display a bar segment for each kind of nested element within each capsule. Hovering over a bar segment will reveal the elements behind the segment.

 

Chart View Capsules

 

Visit HCLRTist to learn more. Click here for more information on MetaModelAgent.

 

Comment wrap
Further Reading
article-img
Secure DevOps | March 4, 2021
Storing Code in Model Files Using CDATA
RTist models are stored in XML files (.emx and .efx). If you have ever opened such a file in a text editor you have probably noticed that code snippets stored in the model can be quite difficult to read due to the encoding of certain characters that is mandated by XML. Here is an example:     Some code snippets are stored as attributes in XML and they can look even worse, since newlines also will be encoded so that the whole code snippet appears on a single line:     Starting with RTist 11.0 2020.33 it's now possible to set a preference so that code snippets will be saved in CDATA sections in the XML file. Thereby the code does not need to be escaped which greatly improves its readability. The preference is called Use CDATA when saving model files and is located on the Modeling preference page. In addition to code snippets, it also affects how documentation texts are stored.     After setting this preference, the code snippets in the examples above will look like this:       Note that older versions of RTist can still read model files that use CDATA. In that sense this feature is backwards compatible. Note, however, that if you edit and save the model in such an old tool version the code snippets will once again be stored without usage of CDATA.  If you decide to start using CDATA in your model files it can be a bit tedious to manually re-save all files in the workspace to use the new format. To simplify you can run a model fixup which will automatically convert all your model files to use CDATA.     Watch this video for more information.
article-img
Secure DevOps | February 8, 2021
New RTist Deliverables Now Available for Download
As a result of our Sprint 2021.04, there are now two deliveries available for download: HCL RTist 11.0 2021.04 and experimental version 11.1 2021.04. Although the experimental version is not yet recommended for production use, we would greatly value any feedback you may have on it. Feel free to reach out to the development team. For now, let’s take a look at what’s new: Single-command Scripted Installation Installation of HCL RTist has never been easier! Just download the script from this page in Utilities section and after a simple configuration, given a product zip file it will automatically download corresponding Eclipse version and depending on RTist version being installed will perform all necessary configuration and installation steps to get you going in minutes. Visualization of Event Routing Complex UML RT models often have many levels of nested capsules, making it difficult to analyze how events are travelling through these structures. In Sprint 2021.04 HCL RTist provides experimental Event Routing Visualization feature, which generates a read-only view of all possible communication paths and relevant parts with respect to a certain port. Despite the new view cannot be used to change the model, you can pan and zoom the diagram, filter to only show paths for In or Out events and switch root capsule context with "Go Inside" and "Go Outside" commands. Please keep in mind that to try this feature you should first activate it in Experimental Features Preferences page. Simpler Qualified Names In many places in RTist like e.g. Properties view you could see fully qualified names of UML elements. Qualified Name of an element includes names of all owning model elements up to the model's root separated by ::. However Capsule Development viewpoint simplifies model representation by hiding some types of elements in Project Explorer view, for example Regions in statemachines. Starting from Sprint 2021.04 fully qualified...
article-img
Secure DevOps | December 15, 2020
RTist 11 Version 2020.50 is Now Available
A new version of RTist 11, 2020.50, is now ready to be downloaded. Let's take a look at some of the improvements implemented in the 2020.50 release.
Close