I started to use my custom kernel classes and couldn't see them in the pier configuration drop-down. So I changed the implementation that the drop-down displays not only all instances of PRKernel but all instances of PRKernel and subclasses.
Norbert _______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki kernel-subinstances.1.cs (894 bytes) Download Attachment |
Integrating the change is a no-brainer.
The question is why you feel the need to subclass the kernel? I've never seen anybody doing this. Lukas On 15 October 2010 12:58, Norbert Hartl <[hidden email]> wrote: > I started to use my custom kernel classes and couldn't see them in the pier configuration drop-down. So I changed the implementation that the drop-down displays not only all instances of PRKernel but all instances of PRKernel and subclasses. > > Norbert > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch _______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
On 15.10.2010, at 17:19, Lukas Renggli wrote: You are right in my case there isn't one. Well, I subclassed it to add an instance variable to it but as soon as I hit the reply button to answer you I remembered that I could put it in properties instead. But anyway it is a personal choice how to do it so offering subclasses in the configuration is a good idea. Norbert
_______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
The problem is that creating subclasses likely also breaks other
places, for example serialization. We have to check that. Lukas On 15 October 2010 17:26, Norbert Hartl <[hidden email]> wrote: > > On 15.10.2010, at 17:19, Lukas Renggli wrote: > > Integrating the change is a no-brainer. > > The question is why you feel the need to subclass the kernel? I've > never seen anybody doing this. > > You are right in my case there isn't one. Well, I subclassed it to add an > instance variable to it but as soon as I hit the reply button to answer you > I remembered that I could put it in properties instead. But anyway it is a > personal choice how to do it so offering subclasses in the configuration is > a good idea. > Norbert > > On 15 October 2010 12:58, Norbert Hartl <[hidden email]> wrote: > > I started to use my custom kernel classes and couldn't see them in the pier > configuration drop-down. So I changed the implementation that the drop-down > displays not only all instances of PRKernel but all instances of PRKernel > and subclasses. > > Norbert > > > _______________________________________________ > > Magritte, Pier and Related Tools ... > > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > > > -- > Lukas Renggli > www.lukas-renggli.ch > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch _______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
Free forum by Nabble | Edit this page |