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.
Summary: | copy paste container widget does not work | ||
---|---|---|---|
Product: | uml | Reporter: | Yang Su <sherylsu> |
Component: | General Diagram | Assignee: | Yang Su <sherylsu> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 83789 | ||
Attachments: |
copy & paste composite state to same diagram
copy & paste composite state to different diagram result of copy & paste partition copy/paste container - composite state copy/paste container - partition |
Description
Yang Su
2008-08-06 22:32:48 UTC
container widget(package, activity group) copy/paste logic was implemented in http://hg.netbeans.org/uml-main/rev/bdf793319366 changeset 7af710520e6f in uml-main details: http://hg.netbeans.org/uml-main?cmd=changeset;node=7af710520e6f Reviewed verified in build 20080829. not sure if this issue is about copy/paste containers to the same diagram. copied and pasted the composite state container results in that the contained element get's displayed outside the container. See attached screenshot. Pasting to a different diagram shows a clearer picture about the result. The region orientation was changed from horizontal to vertical, the 2nd region is not showing but the region label is there. See the 2nd screenshot. Created attachment 68683 [details]
copy & paste composite state to same diagram
Created attachment 68684 [details]
copy & paste composite state to different diagram
Attached is the screenshot for copy/paste result of partition. It seems to work ok for package though. Created attachment 68686 [details]
result of copy & paste partition
missed the case of cloning composite widget with non-default layout orientation (vertical layout of compartments) changeset 77816d1eb3a5 in uml-main details: http://hg.netbeans.org/uml-main?cmd=changeset;node=77816d1eb3a5 Reviewed verified in build 20080911. Content, orientation, properties, etc. seem to be copied and pasted properly to the same diagram for both partition and composite. However, when pasting to a different diagram, extra links pointing from/to no where are in the diagram as well. See attached screenshots for both partition and composite state. Created attachment 69687 [details]
copy/paste container - composite state
Created attachment 69688 [details]
copy/paste container - partition
good catch. some more logic to take care of edges during cloning. changeset 5a48aa522443 in uml-main details: http://hg.netbeans.org/uml-main?cmd=changeset;node=5a48aa522443 Reviewed verified in build 20080915. |