cxbrooks / test

Second test for bugzilla to git
0 stars 0 forks source link

Order of parameter ports relative to other ports is not controllable. #320

Open cxbrooks opened 11 years ago

cxbrooks commented 11 years ago

Note: the issue was created automatically with bugzilla2github tool

Original bug ID: BZ#525 From: @edwardalee Reported version: 9.1.devel CC: pt-dev@chess.eecs.berkeley.edu

cxbrooks commented 11 years ago

Parameter ports always appear as the top ports in an actor. This is because when MoML is exported, parameters are exported before ports. The parameter ports are not exported to the MoML. Only the port parameters are. Since they are parameters, they are parsed first, and when the parameters are instantiated, then the corresponding ports are also instantiated.

Within a Vergil session, you can change the order by selecting a parameter port and choosing Appearance->Move to Front. This will then place it below other ports in the actor. However, this change is not persistent. If you save the model and re-open, then the parameter port is no longer below other ports.