Eclipse organizes the views, actions and menus in the workspace by different perspectives. After the installation, you can open the Reactive Blocks Perspective, which combines a number of useful views.
Here is how you open the perspective:
There are several important parts:
Building blocks are created and edited in the Blocks editor, which combines several pages depending on the type of block.
The editor displays diagram on different pages. Note that not all pages are present in all types of building blocks.
All actions are chosen from the context menu (i.e., right-click on the behavior page). Individual page shows different menus, and the content of the menu also depends on the selected element.
Modeling elements are also provided from the context menu. Depending on the types of building blocks being created, elements that are not suitable are not shown.
The editor has a grid that is shown when an element is moved. All nodes are aligned to the major grid (18 pixels). The bend-points of connections are aligned in-between the major grid. For that reason, nodes like fork, join, opeartion and event receptions should have a width or height of an uneven number of grid spaces.
You may move all nodes by dragging them or using the arrow keys. Some elements, such as operations, forks, joins, set and get variable actions, receptions and guards, can also be resized.
The orientation of some nodes, like join, fork, input and output parameters, pins on operations and events, can be changed by pressing “r” (for rotate), as shown below.
To edit the pins on blocks, use “r” to switch the sides they are attached to, and the arrow keys to put them into place.
Once selected, the tool to create control or object flows stays active until you press “r” or select another element. Hence, you can create several connections at once.
You can align the title bar of building blocks by a double click on it.
You can copy modeling elements and paste them in the same editor or other editor. If two elements that are connected by edges are selected, then the edges are also copied.
Duplicate is a dedicated action to copy and paste elements within the same building blocks. This action can be accessed via the context menu in the blocks editor.
You can undo actions (e.g., deleting an element by accident) up to the first action after saving. In addition to the usual key bindings, you can access undo and redo via the context menu. A short description is shown on the context menu.