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 74751 - incorrect node pop-up menu after creating UML diagram
Summary: incorrect node pop-up menu after creating UML diagram
Status: RESOLVED WORKSFORME
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 5.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-11 00:28 UTC by shanedav
Modified: 2008-09-19 22:39 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 shanedav 2006-04-11 00:28:34 UTC
NetBeans 5.5 Preview
Solaris 10 (sparc)
JDK 1.5_06

If I create a UML diagram, close it, and then right-click on the same folder,
the pop-up menu is different (it looks like it might be the one for diagram
nodes instead of folder/pkg ones).  If I select another node, re-select the
one I want, and right-click, the pop-up menu is back to what it should be.

Steps:

- navigate to an element (eg. folder/pkg)
- right-click on element, pop-up menu shows...
	Open
	Add
	Delete
	Rename
	Associate With
	Apply Design Pattern
	Create Diagram From Selected Elements
	Properties
- select "Create Diagram From Selected Elements"
- pick any diagram type, specify a name, click Ok
- click Yes if asked about Scoped Elements
- wait for diagram generation to complete
- close diagram using X on tab
- right-click on same element (should still be selected/highlighted)
- pop-up menu now shows...
	Open
	Add
	Delete
	Rename
	Generate Code (ghosted)
	Associate With
	Navigate to Source (ghosted)
	Generate Dependency Diagram (ghosted)
	Properties
- doing anything else after this (including simply right-clicking again)
returns the pop-up menu to the original one above
Comment 1 Viktor Lapitski 2008-09-19 22:39:29 UTC
using NB6.5 it works ok.