Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 497662

Summary: The GraphCopier should make node- and edge-mappings accessible after copying.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF GraphAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0.0   
Target Milestone: 5.0.0 (Oxygen) M2   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2016-07-11 05:22:23 EDT
The GraphCopier uses an internal node-mapping from input nodes to output nodes. Currently, this mapping is not made accessible to the user after copying a graph. Therefore, if the mapping is needed, it has to be reconstructed by the user. Instead, the mapping should be made accessible by the GraphCopier. Additionally, the GraphCopier should also provide a mapping from input edges to output edges.
Comment 1 Matthias Wienand CLA 2016-09-05 10:18:31 EDT
I made the mapping from input to output nodes accessible, added a mapping from input to output edges, and ensured that the mappings are preserved until another graph is copied. The code is published on the master branch, therefore, I resolve this ticket as fixed for 5.0.0 M2.