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 40938 - Would like to use java.beans.Customizer for settings/options
Summary: Would like to use java.beans.Customizer for settings/options
Status: RESOLVED DUPLICATE of bug 58412
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: API, UI
Depends on:
Blocks:
 
Reported: 2004-03-11 19:04 UTC by stuart
Modified: 2008-12-22 22:59 UTC (History)
5 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Modifies System Settings to have customizer and changes the Tools/Options to show it (17.28 KB, patch)
2004-07-29 10:10 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description stuart 2004-03-11 19:04:57 UTC
Currently, you can create a Bean and corresponding
BeanInfo class, and the options will show the
properties in a property sheet. Everything works
according to the JavaBeans standard. However, the
JavaBeans standard specifies that a bean may
support the use of a Customizer. This is specified
inside of the BeanDescriptor returned by the BeanInfo.

If I create some settings which specify a
customizer, the settings dialog should use the
cusomizer in place of the existing default
property sheet.

This would allow arbitrary customization (and
beautification) of the options dialog.
Comment 1 Jaroslav Tulach 2004-03-18 15:35:03 UTC
I've said I can try, but I need sample module first. Until then I am
closing this issue.
Comment 2 Jaroslav Tulach 2004-07-29 10:08:38 UTC
Ok, so I've got a bit bored and wrote one setting with the customizer
myself. The rest was then pretty easy.
Comment 3 Jaroslav Tulach 2004-07-29 10:10:30 UTC
Created attachment 16536 [details]
Modifies System Settings to have customizer and changes the Tools/Options to show it
Comment 4 Jaroslav Tulach 2004-07-29 10:29:21 UTC
The patch is a simple prototype to show how the embeding of
customizers into the Tools/Options could look like. It contains no
tests, etc. So it definitively needs some improvements. One of its
biggest advantages over complete rewrite is that it is backward
compatible - e.g. one can slowly rewrite some of the options to have
customizers and the rest will just display the current sheet. So it
does not require any huge organizational efforts.
Comment 5 Jan Jancura 2005-04-28 20:18:43 UTC
Looks like this issue becomes obsolete with new Options Dialog. But feel free to
reopen it if you do not agree.

*** This issue has been marked as a duplicate of 58412 ***