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 155066

Summary: Clicking on a context palette button
Product: uml Reporter: Trey Spiva <tspiva>
Component: General DiagramAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Trey Spiva 2008-12-09 19:41:09 UTC
Currently the context palette only support drag and drop.  However when the user simply clicks on the button it will act as a drag and drop with no 
movement.  Therefore a new node and edge are created.  The problem is that the new node is on top of the original node.  

A better behavior would be to add special logic to the click action to create the new node a set distance from the original node.  It may still cover another 
node, but that would be better than the current situation.  Also some of the buttons could have special logic.  For example a message to self could be created 
by simply clicking on the message context palette button instead of dragging back to the original node.