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 - PropertySheet.createPopup() should have FeatureDescriptor argument
Summary: PropertySheet.createPopup() should have FeatureDescriptor argument
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Property Sheet (show other bugs)
Version: 7.3
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-07 11:40 UTC by Marek Fukala
Modified: 2012-09-24 09:02 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.