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 90350 - Add Operation/Attribute item lost from the diagram elements popup menu
Summary: Add Operation/Attribute item lost from the diagram elements popup menu
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords: A11Y, REGRESSION
Depends on: 89350
Blocks:
  Show dependency tree
 
Reported: 2006-11-30 12:33 UTC by Andrew Korostelev
Modified: 2006-12-01 01:10 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 Andrew Korostelev 2006-11-30 12:33:10 UTC
'add operation' and 'add attribute' items disappeared from diagram elements
popup menu.
Now there is no possibility to add operation or attribute to
class/interface/enum on diagram without mouse.

It is a Regression that appeared between builds ide-coco-061126-ml and
ide-coco-061127_12-ml
Comment 1 Trey Spiva 2006-11-30 16:48:43 UTC
I created a dependency with 89350, because they are related.  The fix for 89350 simply make 
TestBedMenuManager.getLocation always return a Point object.  The problem with this solution is that 
draw engines can no longer tell if they are getting the context menu because of a keystroke, or because of 
a mouse click.  So, I have now made TestBedMenuManager return null, if there is no mouse location.

I have updated the MessageConnectorLabelManager to behave correctly when the mouse location is null.  
This should be tested again.
Comment 2 Trey Spiva 2006-11-30 17:03:07 UTC
Fixed.  By reverting the code from 89350, this issue was solved.
Comment 3 Peter Lam 2006-12-01 01:10:01 UTC
verified in build 061130_7.