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.
Summary: | Add generic help support to property editors | ||
---|---|---|---|
Product: | platform | Reporter: | Rochelle Raccah <raccah> |
Component: | Property Editors | Assignee: | akemr <akemr> |
Status: | CLOSED FIXED | ||
Severity: | blocker | Keywords: | UI |
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Rochelle Raccah
2002-01-10 17:55:43 UTC
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 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. |