Project

General

Profile

Bug #2472

Port locations not saved with Composites in 'Save in Library...'

Added by Dan Higgins over 13 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
general
Target version:
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.

History

#1 Updated by Christopher Brooks over 13 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.

#2 Updated by Dan Higgins over 12 years ago

Port locations were not written in the 'toMoMLString' method of the 'PortMetadata' inner class of ActorMetadata.java

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 2472

Also available in: Atom PDF