This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
build 20080722 The default layout for cdfs on a class diagram is no longer the same after the diagram is reopened. - create a UML Sample App - expand the Model and bankpack package - select the bankpack package and everything under bankpack - CDFS to a class diagram Result: diagram is created and opened - just close the diagram w/o doing anything - reopen the class diagram Result: the layout is gone and everything is pretty much stacking on top of each other. see attached screenshot.
Created attachment 65268 [details] cdfs class diagram on reopen
Fixed http://hg.netbeans.org/uml-main/rev/8c07ee44b319
Integrated into 'main-golden', available in build *200808040201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/8c07ee44b319 User: jyothivasa@netbeans.org Log: Fix for #141215 CDFS now saves the diagram and its node positions. Diagram maintains its layout after reloading
Based on code review decision, I added a flag to save diagram only when we intend to save. DiagramEngine's layout can be used in other situations where save is not necessary http://hg.netbeans.org/uml-main/rev/7592887d46d1
verified in build 20080805.