|Re: When is a AdapterFactory loaded? [message #483381 is a reply to message #483352]
||Tue, 01 September 2009 12:17
| Paul Webster
Registered: July 2009
|Daniel KrÃ¼gler wrote on Tue, 01 September 2009 05:54|
|I don't understand the hesitations to support this request. It would|
be perfectly backward compatible (the default value would be false).
The reason centers on the 2 dev groups, I'll call them producers and consumers
Producers want their stuff to work right, and in the shortest amount of code. That's why people still instantiate IActions (an anonymous inner class where you can set the label/icon, enabled state, and the execution code). Yes, it's tight coupling, but it's easy to do.
Consumers (especially large ones) want to control when things are loaded (I heard of one large consumer where a tweak to load a subcomponent on first access instead of on startup shaved 11 seconds off of the startup time).
If the producer gets to say "I'll always load so I'm 100% correct" the consumer can never say "well, I'll defer that until I need it".
Right now the workbench gives some powers to consumers and some to producers.
But that's the reason why default behaviour like that is *not* added without lots of discussion and dissension ... the goals are actually at odds, and the part of eclipse that's the framework (and has to support both cases) needs a lot of careful consideration.
Powered by FUDForum
. Page generated in 0.01829 seconds