Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336121 - Save as Image does not copy the connections that are inside another container shape
Summary: Save as Image does not copy the connections that are inside another container...
Status: CLOSED FIXED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.8.0   Edit
Assignee: Tim Kaiser CLA
QA Contact:
URL:
Whiteboard: Indigo RC1 theme_bugs
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-02 13:11 EST by Panneer Selvam CLA
Modified: 2011-06-24 08:44 EDT (History)
2 users (show)

See Also:
tim.kaiser: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Panneer Selvam CLA 2011-02-02 13:11:31 EST
Build Identifier: 

In the diagram there is a container shape which has inside some other container shapes and some connections. When I select this parent container shape and try to save as image, only the parent container and the inner shapes are copied. The connections inside the parent container is not copied.


Reproducible: Always

Steps to Reproduce:
1.Display a diagram with one parent container with some inner shapes and connections
2. select the parent container shape and right click "save as image". Save it
3. Open the saved image. The connection are missed in the saved image
Comment 1 Michael Wenz CLA 2011-02-03 03:53:18 EST
This issue occurs when e.g. FixPointAnchors are used, while it works correctly when ChopboxAnchors are used.
Comment 2 Tim Kaiser CLA 2011-02-03 07:37:38 EST
The methods getModelSourceConnections and
getModelTargetConnections in ShapeEditPart
do only consider ChopBoxAnchors.
Comment 3 Tim Kaiser CLA 2011-05-17 04:28:28 EDT
fixed in GefService (getModelSourceConnections and getModelTargetConnections need
to stay stable)
Comment 4 Michael Wenz CLA 2011-06-24 08:44:09 EDT
Part of Graphiti Indigo 0.8.0