Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 270193 - Not correct uml graphics generation
Summary: Not correct uml graphics generation
Status: RESOLVED DUPLICATE of bug 216102
Alias: None
Product: Ecoretools
Classification: Modeling
Component: General (show other bugs)
Version: -   Edit
Hardware: PC Windows Vista
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 18:40 EDT by erik wallin CLA
Modified: 2009-03-28 07:06 EDT (History)
2 users (show)

See Also:


Attachments
ParentChild.ecore (717 bytes, application/octet-stream)
2009-03-26 18:40 EDT, erik wallin CLA
no flags Details
ParentChild.ecorediag (5.17 KB, application/octet-stream)
2009-03-26 18:41 EDT, erik wallin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description erik wallin CLA 2009-03-26 18:40:45 EDT
Created attachment 130026 [details]
ParentChild.ecore

Environment eclipse rcp 3.4.2 (not tested on latest, but I didn't find any bug on this before)

I have a simple parentchild ecore file attached

It's a parent and a child with a association between them. The generated uml looks weird. I would say it's a bug or at least very ugly

1. It's not one, but two lines between them.
2. it says 1..1 instead of 1 when you specify only one parent for example.



Reproduction.
generate ecorediag from attaced ecore file
Comment 1 erik wallin CLA 2009-03-26 18:41:20 EDT
Created attachment 130027 [details]
ParentChild.ecorediag
Comment 2 Jacques LESCOT CLA 2009-03-28 07:05:50 EDT
(In reply to comment #0)
> 1. It's not one, but two lines between them.
Yes, there are two lines because there are two references (that are set as EOpposite). However, you are true there is a bug (that should have been fixed with bug 210774), that should be covered by the bug 243473

> 2. it says 1..1 instead of 1 when you specify only one parent for example.
This is already tracked with bug 216102


*** This bug has been marked as a duplicate of bug 243473 ***
Comment 3 Jacques LESCOT CLA 2009-03-28 07:06:12 EDT

*** This bug has been marked as a duplicate of bug 216102 ***