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 217989

Summary: PropertySheet.createPopup() should have FeatureDescriptor argument
Product: platform Reporter: Marek Fukala <mfukala>
Component: Property SheetAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:

Description Marek Fukala 2012-09-07 11:40:38 UTC
Currently the implementors can only use PS.getSelection() which returns the FeatureDescriptor selected in the PS JTable. 

This is fine so far one click to the area outside of the inner JTable (no FD at that place). In this case the getSelection() still returns the last selected FD.

PS.getSelection(FeatureDescriptor) would be better. The given FD will correspond to the FD where the popup is being opened or null if there's no FD at that place.