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.
I'd appreciate if org/netbeans/beaninfo/editors/StringEditor had similar support for nullValue as ObjectEditor does. Sometimes it is usefull to have a string property where null has special meaning and should be displayed in a nice way (for example if you use BeanNode and its generated properties). Mostly it mean to override getAsText() and modify setAsText(), attachEnv(. And document it in org/openide/explorer/doc-files/propertyViewCustomization.html. Is (fast) API review needed for this?
Send me patch with test.
No patch, no fix. Reopen when the patch is ready.
Created attachment 104390 [details] patch against release69 repo
Patch is attached. > No patch, no fix. Are you serious?
Of course I am serious. Change requests need a sponsor (see http://wiki.apidesign.org/wiki/Bugzilla), thanks for sponsoring this change request!
ergonomics#8059829bba70
Integrated into 'main-golden', will be available in build *201012290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/8059829bba70 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #193252: Add support for null values into string property editor. Donated by Radim Kubacki