Edit POOSL models graphically
There are multiple graphical views on a POOSL model, which can be opened from the Project Explorer or the textual editor.
All graphical (layout) information is stored in the project's representations.aird file, which is automatically created when opening a graphical editor.
Class Diagram
A class diagram shows the inheritance structure of the data and process classes, including their parameters, variables and methods.
In addition it shows the containment structure of the system and cluster classes.
The following features are useful:
- Show the model in a textual editor
How? Right-mouse click outside any class and select "Open Textual Editor", or keyboard shortcut <F2> (and press <F2> again to switch back).
- Show an element in a textual editor
How? Double-click on the element, or right-mouse click and select "Open Textual Editor".
- Show a Composite Structure Diagram of a system or cluster class
How? Double-click on the system or cluster class, or right-mouse click and select "Open Composite Structure Diagram".
- Filter Classes
How? In the top bar select the filter icon (looks like 2 funnels), select "Hide Basic Classes" to hide only the basic classes. Select "Hide Imports" to hide all classes imported from a different file.
- Add a new element
How? First click on a Creation tool in the Palette at the right-hand side, and then click on the graphical location where this element must be added.
- Change an element
How? First click on the element, and then either use the "Properties" view, or right-click and select "Edit Method/Variable/Parameter".
- Delete an element
How? First click on the element, and then either right-click and select "Edit" and "Delete From Model", or use keyboard shortcut <DEL>.
Note: Graphical editing is incomplete; sometimes textual editing is needed.
Composite Structure Diagram
A Composite Structure Diagram shows the ports and instances of a single system or cluster class, in combination with the channels that connect them.
The following features are useful:
- Show the system or cluster in a textual editor (e.g., to edit the cluster parameters)
How? Right-mouse click outside any instance and select "Open Textual Editor", or keyboard shortcut <F2> (and press <F2> again to switch back).
- Show an instance in the textual editor (e.g., to edit the instantiation parameters)
How? Right-mouse click on the instance and select "Open Instance in Textual Editor".
- Show the class of an instance in a textual editor
How? Right-mouse click on the instance and select "Open Textual Editor". Double-click the instance may show the "Choose Editor" window depending on your settings, more information about similar behavior can be found under Project Explorer double click
- Show a Composite Structure Diagram of the class of a cluster instance
How? Right-mouse click on the instance and select "Open Composite Structure Diagram". Double-click the instance may show the "Choose Editor" window depending on your settings, more information about similar behavior can be found under Project Explorer double click
- Add a new element
How? First click on a Creation tool in the Palette at the right-hand side, and then click on the graphical location where this element must be added. Channels can be drawn between two ports, and between a port and an existing channel.
- Change an element
How? First click on the element, and then use the "Properties" view.
- Delete an element
How? First click on the element, and then either right-click and select "Edit" and "Delete From Model", or use keyboard shortcut <DEL>.
- Change the color of a channel
How? Double-click on the channel, and pick a color.
- Show and change the location of specific Communication Diagram elements
How? Right click in the diagram and select "Show/Hide Communication Elements" to show specific elements for the Communication Diagrams (viz., the message counters for the ports and the general message description note).
Note: Graphical editing is incomplete; sometimes textual editing is needed.