This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 134289 - Labels|Stereotype item is missed or links with stereotype
Summary: Labels|Stereotype item is missed or links with stereotype
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-30 20:17 UTC by Sergey Petrov
Modified: 2008-07-18 01:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2008-04-30 20:17:13 UTC
add two classes with association between,
add stereotype to the association
stereotype label will appear.
But there is no menu Labels|Stereotype and no way to remove stereotype label
Comment 1 Sergey Petrov 2008-04-30 20:18:00 UTC
most likely related to any link on any diagram.
Comment 2 Trey Spiva 2008-05-22 18:02:09 UTC
This is the same behavior as in 6.1.  Therefore it is by design.
Comment 3 Sergey Petrov 2008-05-22 18:05:52 UTC
regression against 6.1
Comment 4 Trey Spiva 2008-05-22 18:18:25 UTC
Since the in 6.1, the delete key was able to be used to remove labels from the diagram, this issue should be fixed by reinstating the delete key for labels.
Comment 5 Sergey Petrov 2008-05-22 18:42:31 UTC
delete key feature may be filed as a separate defect/feature depending on plans.
//
initially described issue was considered as valid one after discussion.
Comment 6 Trey Spiva 2008-05-22 22:24:56 UTC
Fixed

The stereotypes label will now appear when an element as an applied stereotype.  Also a label can not be removed by using the delete and backspace keys.

http://hg.netbeans.org/uml-main/rev/d68518586e33
Comment 7 Trey Spiva 2008-07-07 14:16:00 UTC
The last sentence had a mistake.  Instead of "Also a label can not be removed by using the delete and backspace keys." It should have been "Also a label can 
now be removed by using the delete and backspace keys."
Comment 8 Peter Lam 2008-07-18 01:40:53 UTC
verified in build 20080717 and 6.1.
In 6.1, adding a stereotype does not display the stereotype on the link.
In 6.5 build 20080717, stereotype is displayed on the link after it's added. Of course the Delete key will delete it but
it shouldn't be displayed automatically after adding a stereotype every time. Will track this in a separate lower
priority issue.