Opened 12 years ago

Closed 9 years ago

Last modified 9 years ago

#1900 closed defect (fixed)

Handle connections to expandable connectors in OMEdit

Reported by: Adrian Pop Owned by: Adeel Asghar
Priority: high Milestone: 1.9.4
Component: OMEdit Version: trunk
Keywords: Cc: Adeel Asghar

Description

OMEdit currently do not handle connections to expandable connectors.
The expandable connectors, several cases

  • connect(existingConnector.variable, expandable.notExisting) can be empty but you can connect anything (does not need to be a connector as far as i know) to them connect(x.y, expandableConnector.newVariableName) OMEdit should ask for the newVariableName and add the above connect.
  • connect(existingConnector.variable, expandable.existing) can contain components already and you can connect to those if they are present, OMEdit should show the already available components in the connector and let the user decide which one it wants to connect to, then handle it like a normal connect.
  • connect(expadable1, expandable2) connecting 2 expandable connectors together should work as normal connection (the result is the union of all variables in both connectors)

Well, that's about it. Read from the Modelica specification or contact me if you need more info.

Change History (8)

comment:1 by Adeel Asghar, 12 years ago

Owner: changed from somebody to Adeel Asghar
Status: newaccepted

comment:2 by Martin Sjölund, 11 years ago

Milestone: 1.9.01.9.1

Postponed until 1.9.1

comment:3 by Martin Sjölund, 10 years ago

Milestone: 1.9.11.9.2

This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).

comment:4 by Martin Sjölund, 10 years ago

Milestone: 1.9.21.9.3

Milestone changed to 1.9.3 since 1.9.2 was released.

comment:5 by Martin Sjölund, 9 years ago

Milestone: 1.9.31.9.4

Moved to new milestone 1.9.4

comment:6 by Adeel Asghar, 9 years ago

Resolution: fixed
Status: acceptedclosed

Done in 22a1579/OMEdit.

comment:7 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.4-1.9.x

Milestone renamed

comment:8 by Martin Sjölund, 9 years ago

Milestone: 1.9.4-1.9.x1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.