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.
Issue 12518 addresses the support of help for the DataObject editor, but makes a suggestion for a more generic solution: Optimally, I think this should be solved for all property editors by adding a hint to the top level (like "title"). This hint could be handled as follows: - if the helpID is supplied as a hint and there is no help registered already for the innerPane to the DialogDescriptor constructor, use that in the PropertyDialogManager's creation of the DialogDescriptor. - if no helpID hint is supplied, use the old behavior (if the innerPane has one, it will be used, otherwise there will be no help button) - if both are supplied --> ask on nbui what the behavior should be David has agreed that this a good enhancement, so I'm filing it separately.
Implemented in trunk. - new property ExPropertyEditor.PROPERTY_HELP_ID You should use code like propertyDescriptor.setValue( ExPropertyEditor.PROPERTY_HELP_ID, helpID ) in BeanInfo to attach helpID to custom editor of some property
This probably makes my fix for issue 12518 redundant. Has that code been cleaned up?
Yes, it could be cleaned - but you probably should at first change your code from: propertyDescriptor.setValue( DataObjectEditor.PROPERTY_HELPID, helpID ) to: propertyDescriptor.setValue( ExPropertyEditor.PROPERTY_HELP_ID, helpID )
But the value in DataObject editor is private and has the same value as in ExPropertyEditor. So (client) code which used to say propertyDescriptor.setValue( "helpID", helpID ) should be changed to propertyDescriptor.setValue( ExPropertyEditor.PROPERTY_HELP_ID, helpID ) but it will still work meanwhile. I only have an example of this (not in my real code) anyway. I think you can clean it up without breaking anything.
*** Issue 21378 has been marked as a duplicate of this issue. ***
*** Issue 21376 has been marked as a duplicate of this issue. ***
verified , support was added.
What about the cleanup task? Should it be filed as a separate issue?
Resolved for 3.4.x or earlier, no new info since then -> closing.
The cleanup task was filed as issue 25925 and resolved as well.