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 22086

Summary: Allow editor setting initializers lazy loading
Product: editor Reporter: _ pkuzel <pkuzel>
Component: SettingsAssignee: issues@editor <issues>
Status: RESOLVED INVALID    
Severity: blocker Keywords: PERFORMANCE
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 21053, 21961    
Attachments: Patch eliminating aggressive instantiation of SourceElement

Description _ pkuzel 2002-04-04 09:23:56 UTC
I miss declarative and lazy initialized
counterpart of:

Settings.addInitializer (new CSSEditorSettings());
^^^^^^^^^^^^^^^^^^^^^^^

Now I must call it directly from module installer.
Comment 1 Martin Roskanin 2002-06-05 15:50:04 UTC
*** Issue 21299 has been marked as a duplicate of this issue. ***
Comment 2 Marek Grummich 2002-07-22 09:54:44 UTC
Set target milestone to TBD
Comment 3 Marek Grummich 2002-07-22 09:58:01 UTC
Set target milestone to TBD
Comment 4 _ pkuzel 2002-11-11 10:52:56 UTC
Can not they be placed at layer?

The NetBeans editor integration module should communicate it somehow
to editor library. Netbeans modules should stop to use editor library
registries directly. Registrations must be transparently handled by
the integration module.
Comment 5 Miloslav Metelka 2002-11-11 13:07:33 UTC
We would like to drop the initializers completely ASAP but not sure
whether in 4.0. All the settings values would be registered
declaratively in the layer and loaded lazily.
Comment 6 _ tboudreau 2002-11-25 20:10:48 UTC
Created attachment 8047 [details]
Patch eliminating aggressive instantiation of SourceElement
Comment 7 psuk 2004-03-23 19:59:35 UTC
Changing subcomponent to "setting"


Comment 8 Vitezslav Stejskal 2008-01-10 12:42:56 UTC
No longer needed. All editor settings can now be supplied through module layers (ie XML files under Editors/ folder) and
Settings, BaseOptions, etc are going to be deprecated.