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 4898 - Property windows for class members do not close when its class is deleted from Explorer
Summary: Property windows for class members do not close when its class is deleted fro...
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-12-08 21:41 UTC by Svata Dedic
Modified: 2007-09-26 09:14 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 Svata Dedic 1999-12-08 21:41:38 UTC
1. Select any class member (or inner class/interface) in the explorer and open its properties using context menu.
2. Delete the class in the Explorer.

The property window(s) for the class members does not disappear nor are cleared.

Now, If user performs Undo in the Editor window (and brings the class back to life), saves the file and THEN changes anything from any of the property windows (created in step 2), the class definition
 is cleared again. It seems that the property windows operate on old parsing information.

The windows do not close either if the users removes entire file from the Repository.

[JB] When you delete class member in built 809, the property window will not disappear, but change its status to No Properties. After bringing deleted member back to life, there are no changes in this
 window so there are no definition clearings.
Comment 1 Jaroslav Tulach 2000-06-14 01:51:59 UTC
I've added the Children.Keys.destroyNodes method. Now it should be
easy to implement the desired behaviour (and maybe it is already working).
Can you check it?
Comment 2 Marek Grummich 2000-07-25 09:09:59 UTC
Priority is changed to P4 (normal).
Comment 3 Jan Becicka 2000-08-03 10:54:59 UTC
[1070] Property window doesn't disappeared after deleting class member.
(but in [12] Property window is correctly destroyed.)
Comment 4 Svata Dedic 2000-08-16 08:03:59 UTC
Relevant fix merged into Boston by Dafe
Comment 5 Jan Becicka 2000-10-09 17:35:59 UTC
[1118] Verified
Comment 6 Quality Engineering 2003-07-01 13:15:35 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.