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 19899 - Enhance lookup of property editors
Summary: Enhance lookup of property editors
Status: RESOLVED DUPLICATE of bug 22422
Alias: None
Product: platform
Classification: Unclassified
Component: Nodes (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-29 13:05 UTC by David Strupl
Modified: 2008-12-22 23:43 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Strupl 2002-01-29 13:05:57 UTC
Currently

java.beans.PropertyEditorManager.findEditor(type)

is used to find property editor for given property. The implementation of this
method is not flexible enough for our needs. 

Requirements:
1. from module be able to add mapping declaratively (in XML)
2. customize the mappings as a user
3. be able to return more results (Collection) for a type.
4. fallback to the original findEditor method in case no editor is found using
the alternative approach (backward compatibility)

Solution: use XML layer to store the mappings
Comment 1 Jaroslav Tulach 2002-06-13 04:54:28 UTC
It seems that there already is a solution for this suggested as part
of issue 22422 together with a patch that just needs to be applied. I
am closing this in favor of that issue.


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