Re: [skinlf-dev] Follow-up on laf-plugin proposal
"Robert F. Beeger" <[email protected]> Fri, 24 Feb 2006 15:55:34 +0100
| Newsgroups | gmane.comp.java.skinlf.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Kirill, Kirill Grouchnikov wrote: > The current separation follows approach in the Metal LAF (which may or > may not be a good choice depending on whether the particular LAF extends > Metal). I can easily add an additional function to the PluginManager > combining all three calls as you suggest. In the end it's all pushed into the same map. > > Another thing that you mention should most probably be added to the > signature of LafPlugin - the uninitialize (most probably making the > reset redundant). I think that's right. It constraints getDefaults to being called only once after a theme change, but that's OK for me. > > Erik, Robert, Pattrick - what do you think about uniting the mentioned > three functions into a single one? I think that's a good idea. Fortunately there aren't many plugins around yet. Otherwise this change of the public interface would be really a nightmare ;) Cheerio, Robert