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 193252 - Add support for null values into string property editor
Summary: Add support for null values into string property editor
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Property Editors (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on: 197581
Blocks:
  Show dependency tree
 
Reported: 2010-12-10 15:52 UTC by _ rkubacki
Modified: 2011-04-11 15:44 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
patch against release69 repo (9.95 KB, patch)
2010-12-22 10:46 UTC, _ rkubacki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2010-12-10 15:52:54 UTC
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?
Comment 1 Jaroslav Tulach 2010-12-13 14:58:49 UTC
Send me patch with test.
Comment 2 Jaroslav Tulach 2010-12-17 17:55:15 UTC
No patch, no fix. Reopen when the patch is ready.
Comment 3 _ rkubacki 2010-12-22 10:46:28 UTC
Created attachment 104390 [details]
patch against release69 repo
Comment 4 _ rkubacki 2010-12-22 10:48:04 UTC
Patch is attached.

> No patch, no fix.

Are you serious?
Comment 5 Jaroslav Tulach 2010-12-22 20:13:55 UTC
Of course I am serious. Change requests need a sponsor (see http://wiki.apidesign.org/wiki/Bugzilla), thanks for sponsoring this change request!
Comment 6 Jaroslav Tulach 2010-12-22 20:22:59 UTC
ergonomics#8059829bba70
Comment 7 Quality Engineering 2010-12-29 07:09:21 UTC
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