Changes between Initial Version and Version 1 of Ticket #5628, comment 2
- Timestamp:
- 2019-09-09T17:05:53Z (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5628, comment 2
initial v1 4 4 - when you graphically connect {{{m.c}}} to a ''scalar'' connector, the parameter is {{{N}}} is automatically increased by one, and a connection to the corresponding scalar element is generated 5 5 6 When connecting {{{m.c}}} to another connector ''array'' {{{m2.c}}}, this mechanism should obviously not be used, and a simple {{{connect(m.c, m2.c)}}} statement should be generated (case 2) .6 When connecting {{{m.c}}} to another connector ''array'' {{{m2.c}}}, this mechanism should obviously not be used, and a simple {{{connect(m.c, m2.c)}}} statement should be generated (case 2), unless also the size of {{{m2.c}}} is a parameter with the {{{connectorSizing = true}}} annotation, see Rule 1 in 18.7. 7 7 8 8 When connecting {{{m.c}}} to an expandable connector, OMEdit doesn't know the type of the other connector, because the other connector is implicitly defined by the connect statement. In this case, I would suggest that a pop-up window shows up, asking whether one wants to connect to a scalar connector on the expandable connector (in which case the {{{connectorSizing}}} mechanism should be used), or to an array connector on the expandable connector, in which case a connect statement between two array connectors should be generated.