Actions
Bug #2472
closedPort locations not saved with Composites in 'Save in Library...'
Start date:
06/26/2006
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
2472
Description
If one creates a composite actor with ports, and then uses the 'Save in Library...' menu to save the composite, the port locations are not saved. Thus when one drags the saved composite onto the work area, the internal layout is quite confusing (all the ports appear overlaid in one location). This can make it virtually impossible to understand the internal flow of the composite.
Updated by Christopher Brooks over 18 years ago
This is fixed in the Ptolemy CVS head.
I refactored the code so I could do some testing, see
ptII/ptolemy/actor/gui/ActorLibraryUtilities.java
Probably the thing to do is to fold these changes into the Kepler Beta head.
Updated by Dan Higgins over 17 years ago
Port locations were not written in the 'toMoMLString' method of the 'PortMetadata' inner class of ActorMetadata.java
Actions