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 30660

Summary: Replacement for FormPropertyEditorManager.registerEditor
Product: guibuilder Reporter: _ pkuzel <pkuzel>
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: blocker CC: issues, jglick, rkubacki
Priority: P3 Keywords: API, PERFORMANCE
Version: 3.x   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 22422    
Bug Blocks:    

Description _ pkuzel 2003-02-04 16:44:12 UTC
I must call above method from my module installer
unconditionally. Could you please provide a
declarative  way how to register it at SFS.

Thank you
Comment 1 _ rkubacki 2005-09-16 13:41:55 UTC
Right. This eager registration is bad and should be treated as a bug as it
affects our startup time. 
Comment 2 Tomas Pavek 2007-08-08 13:48:59 UTC
*** Issue 112301 has been marked as a duplicate of this issue. ***
Comment 3 Jesse Glick 2009-10-07 15:47:46 UTC
Consider offering an annotation for the registration, whatever it is.
Comment 4 Jaroslav Tulach 2009-10-08 07:32:06 UTC
Jesse also proposed:

> Would be simpler for the form module to look directly 
> in the general registration, 
> thus requiring no work at startup at all; e.g.
>
> Lookups.forPath("PropertyEditors/" + beanClass.getName()).lookupAll(PropertyEditor.class)

I like this idea (with or without associated annotation).