Bug 311808 - The symbol which represents that a class implements another class is the same as the symbol used for inheritance between classes
Summary: The symbol which represents that a class implements another class is the same...
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.8.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-16 22:33 UTC by Lamrani Rokia
Modified: 2016-08-31 14:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.9.5 (KDE 4.9.5)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lamrani Rokia 2012-12-16 22:33:52 UTC
After importing a java code into umbrello. i noticed that the symbol (arrow) used to represent that one of my classes implements another one is the same symbol used to reprensent that a class inhertits form another class.In fact, in the toolbar, the implementation's symbol is different from the inheritance 's symbol. But the  generated diagram doesn't use it. Moreover, i deleted manually the arrow's implementation from the generated diagram and i tried to drug and drop the arrow from the toolbar to the diagram,but that doesn't change anything. i still have the same arrow as the arrow's inheritance.

Reproducible: Always

Steps to Reproduce:
1.Import java code that contains a class that implements another class and inherits from another class
2. Generate the uml  diagram. Then, compare the arrow used for inheritance with the arrow used for implementation
3. Compare the arrow used for implementation in the generated diagram with the same arrow in the toolsbar
Actual Results:  
The arrow used for implementation is the same as the arrow used for inheritance in the generated diagram
The arrow used for implementation in the generated diagram is different from the arrow that we  find in the toolsbar

Expected Results:  
The two arrows ; for implementation and inheritance should be different.
The arrow in the toolsbar should be used to represent the concept of implementation in the generated diagram.
Comment 1 Ralf Habacker 2016-08-31 14:21:48 UTC
>The arrow used for implementation is the same as the arrow used for inheritance in the generated diagram.
At least in 2.9.5 they are different:  inheritance: solid line, implementation: dashed line

>The arrow used for implementation in the generated diagram is different from the arrow that we find in the toolbar

The related toolbar icon is internally named "Generalization", which means implementation or inheritating depending on the related widgets. The related tooltip is named 'Implements', which is misleading. I think using  "Generalization" would be more descriptive -> will change into git master for 2.21 releases.
Comment 2 Ralf Habacker 2016-08-31 14:28:40 UTC
Git commit 23d3ebe759390ea8277669a1e38641d56a27497a by Ralf Habacker.
Committed on 31/08/2016 at 14:28.
Pushed by habacker into branch 'master'.

Fix 'The symbol which represents that a class implements another class is the same as the symbol used for inheritance between classes'.

The main bug has been fixed in 2.9.5; this commit completes by
fixing the misleading term 'Implements' for the 'Generalization' arrow
tooltip.
FIXED-IN:2.20.80 (KDE Applications 16.11.80)

M  +1    -1    umbrello/worktoolbar.cpp

http://commits.kde.org/umbrello/23d3ebe759390ea8277669a1e38641d56a27497a