Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 158668 - Double links are created when using palette tool
Summary: Double links are created when using palette tool
Status: RESOLVED DUPLICATE of bug 148021
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: 2.1   Edit
Assignee: Anthony Hunter CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-25 17:51 EDT by Borna CLA
Modified: 2010-07-19 21:59 EDT (History)
1 user (show)

See Also:


Attachments
Double link shown though only a single link exists in data model (3.98 KB, image/gif)
2006-09-25 17:52 EDT, Borna CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Borna CLA 2006-09-25 17:51:51 EDT
If I initialize a diagram with a valid model, the link is properly displayed between two model elements. If I delete the single valid link, the data model is properly updated. If I use the palette creation tool to create a link (called an attribute mapping in this model) between two elements (called attributes in this model), the link is created once in the data model, but displayed as two visible links. 


  <eClassifiers xsi:type="ecore:EClass" name="AttributeMapping">
    <eStructuralFeatures xsi:type="ecore:EReference" name="source" eType="#//Value"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="destination" eType="#//Attribute"/>
  </eClassifiers>
Comment 1 Borna CLA 2006-09-25 17:52:54 EDT
Created attachment 50871 [details]
Double link shown though only a single link exists in data model
Comment 2 Anthony Hunter CLA 2007-06-19 11:44:27 EDT
Moving to the next release, GMF 2.1. 
Comment 3 Anthony Hunter CLA 2007-06-20 15:03:23 EDT

*** This bug has been marked as a duplicate of bug 148021 ***
Comment 4 Eclipse Webmaster CLA 2010-07-19 21:59:03 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime was the original product and component for this bug