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 - Replacement for FormPropertyEditorManager.registerEditor
Summary: Replacement for FormPropertyEditorManager.registerEditor
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: API, PERFORMANCE
: 112301 (view as bug list)
Depends on: 22422
Blocks:
  Show dependency tree
 
Reported: 2003-02-04 16:44 UTC by _ pkuzel
Modified: 2011-09-07 09:24 UTC (History)
3 users (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 _ 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).