Changes between Version 2 and Version 3 of Ticket #5628, comment 2


Ignore:
Timestamp:
2019-09-09T17:31:54Z (6 years ago)
Author:
Francesco Casella

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5628, comment 2

    v2 v3  
    77  a tool may set the parameter value in a modifier automatically, if used as dimension size of a vector of connectors
    88
    9 So, in the case 2. described above, I would say that the wanted behaviour is that one first drags the {{{And}}} component (which has default {{{nu = 0}}}), then, when graphically connecting the input {{{and.u}}} to the output of {{{booleanExpression.y}}}, one should first be asked if the two entire arrays should be connected, or rather some of their individual components.
     9So, in the case 2. described above, I would say that the wanted behaviour is that one first drags the {{{And}}} component (which has default {{{nu = 0}}}), then, when graphically connecting the input {{{and1.u}}} to the output of {{{booleanExpression1.y}}}, one should first be asked if the two entire arrays should be connected, or rather some of their individual components.
    1010
    1111In the first case, {{{nu}}} should automatically be set to {{{3}}}, which is the size of the other connector, and a {{{connect(booleanExpression1.y, and1.u)}}} statement should be added.
    1212
    13 In the second case, one should select which individual array element to pick on the non-connectorSize'd connector, while the standard connectorSizing mechanism should be used on {{{and.u}}}.
     13In the second case, one should select which individual array element to pick on the non-connectorSize'd connector, while the standard connectorSizing mechanism should be used on {{{and1.u}}}.
    1414
    1515When 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. This may be a problem, because there is not enough information available to infer the size of the parameter with {{{connectorSizing = true}}} ({{{and.nu}}}, in this case).
    1616
    17 In this case, I would also suggest to ask first if one wants to connect a scalar element or the entire array connector {{{and.u}}} to a connector on the expandable connector. In the first case, the standard {{{connectorSizing}}} mechanism is applied. In the other case, the pop-up window should probably also ask for the value of the {{{connectorSizing=true}}} parameter ({{{nu}}}), because the size of the other connector is not available locally when using an expandable connector.
     17In this case, I would also suggest to ask first if one wants to connect a scalar element or the entire array connector {{{and1.u}}} to a connector on the expandable connector. In the first case, the standard {{{connectorSizing}}} mechanism is applied. In the other case, the pop-up window should probably also ask for the value of the {{{connectorSizing=true}}} parameter ({{{nu}}}), because the size of the other connector is not available locally when using an expandable connector.
    1818
    1919It would be nice to get this for 1.14.0, so that the newly introduced feature is correct.