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.
Enable tracking of opened and closed TopComponents. Currently, only way to do it is to listen to property change on TopComponent.Registry to get a set of opened TopComponents. Extracting needed info is complicated, error prone and may lead to memory leaks. Proposed solution - simple and compatible API addition: - add two new property constants "PROP_TC_OPENED" and "PROP_TC_CLOSED" into TopComponent.Registry. Clients will get recently opened or closed top component through calling getNewValue() on received event.
I'm asking for fast track review of this API change. I'll attach the diff. Also note that implementation of 2710 relies on this API change.
Created attachment 35140 [details] diff of winsys API
Created attachment 35141 [details] registry implementation diff
implemented as part of 2710, closing.