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 115565 - "Inspect Hierarchy" should be disable if no class-declaration is selected
Summary: "Inspect Hierarchy" should be disable if no class-declaration is selected
Status: VERIFIED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-14 15:05 UTC by dnikitin
Modified: 2007-11-23 17:17 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 dnikitin 2007-09-14 15:05:56 UTC
Product Version: NetBeans IDE Dev (Build 200709140000) 
Java: 1.5.0_09; Java HotSpot(TM) Client VM 1.5.0_09-b03 
System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)
---------------------------------------

"Inspect Hierarchy" should be disable if no class-declaration is selected.

For example, in Welcome project Navigation->Inspect Hierarchy is enabled, but nothing occurs if you select this item
from context menu.
Comment 1 Vladimir Kvashin 2007-09-14 15:17:45 UTC
It's impossible to do this without the signifncant risk of freezing UI for several seconds.

For this reason now the "Inspect Hierarchy" (as well as "View Hierarchy") issues an error message "You should select a
type to view its hierarchy" in the case user doesn't point to a class and invokes the item.
Comment 2 dnikitin 2007-11-23 17:17:08 UTC
Verified in NetBeans IDE 6.0 RC2 (Build 200711201000)