Project

General

Profile

Actions

Bug #2472

closed

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

Added by Dan Higgins almost 18 years ago. Updated almost 17 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.

Actions #1

Updated by Christopher Brooks almost 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.

Actions #2

Updated by Dan Higgins almost 17 years ago

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

Actions #3

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 2472

Actions

Also available in: Atom PDF