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 83891 - qualifier box is not attached to the class' shape
Summary: qualifier box is not attached to the class' shape
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Yang Su
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-31 11:40 UTC by bugbridge
Modified: 2007-01-29 13:05 UTC (History)
1 user (show)

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 bugbridge 2006-08-31 11:40:11 UTC
qualifier box is not attached to the class' shape - move it around as you like -
with association hanging off it - very confusing

forum posting: http://swforum.sun.com/jive/thread.jspa?forumID=122&threadID=63144

repro steps:
- create a class diagram
- create and name 2 class elements
- create an association link between the 2 classes
- right-click on the link at one end closer to the class element and select Show
Qualifier
- move the Qualifier around and away from the class so that the qualifier is not
touching the class

Evaluation:
Per tspiva, this is how the tool is designed to work. Converting it to an RFE.
Comment 1 Yang Su 2007-01-23 00:39:28 UTC
It's closely related to issue 88239 and issue 88240, a p2 bug.
Comment 2 Yang Su 2007-01-23 01:02:38 UTC
The logic to reconnect qualifer to associated class was lost during TomSawyer
library upgrade.

Implemented the logic to work like this:

If qualifier is manually moved within the class rectangle or touching the sides,
the user's choice of position is accepted to allow user some flexibility to
adjust the elements.

If qualifier is completely moved away from class but doesn't touch another class
( an attempt to reroute association ) it will be pulled back to its original
associated class and attached to one side of the class rectangle based on
qualifier's "runaway" location.

If the qualifier is completely moved away from original associated class to
another class, the logic to re-route associate kicks in (This logic was there
and is not changed). 
Comment 3 Andrew Korostelev 2007-01-29 13:05:01 UTC
verified in all-nbms-griffin-070128_1
now it works.

But not always correctly.
will file related issues