[Cuis-dev] Added remove message from Hierarchy in the message list

Juan Vuletich juan at cuis.st
Mon Mar 18 06:17:45 PDT 2024


Hi Paolo,

I further tweaked it a bit and pushed to GitHub. You may want to check 
how I tweaked your code. Any comment is welcome.

Thanks,

On 3/17/2024 4:48 PM, Paolo Belforte via Cuis-dev wrote:
> Hi! Thanks for the feedback.
>
> Just changed it so it goes down to all the subclasses in the hierarchy 
> and does not affect siblings classes.
> Added a message to the Behaviour class so I can remove the message in 
> a more "recursive and elegant way", should I not touch any of the 
> kernel classes and try again with some loops?
>
> Thanks.
>
> El dom, 17 mar 2024 a las 15:46, Juan Vuletich (<juan at cuis.st 
> <mailto:juan at cuis.st>>) escribió:
>
>     On 3/16/2024 5:34 PM, Paolo Belforte via Cuis-dev wrote:
>     > Hello everyone,
>     >
>     > I've made a change to the base image of Cuis, adding this option as
>     > sometimes I feel like I could use it .
>     > When you click this option, it will remove all methods from the
>     > hierarchy, asking if you really want to do it if there are senders.
>     > You can find this option just down the "remove method (x)" option,
>     > it's the "remove method in hierarchy".
>     >
>     > Thanks,
>     > Paolo.
>
>     Thanks Paolo.
>
>     I like the idea, but I see a couple of issues with the implementation:
>     - You iterate over direct subclasses, not all subclasses.
>     - First you go up, then down. This means that it could delete
>     implementors that are not in the hierarchy of the selected class (for
>     instance a sibling class).
>
>     Perhaps you can give this another take?
>
>     Thanks,
>
>     -- 
>     Juan Vuletich
>     cuis.st <http://cuis.st>
>     github.com/jvuletich <http://github.com/jvuletich>
>     researchgate.net/profile/Juan-Vuletich
>     <http://researchgate.net/profile/Juan-Vuletich>
>     independent.academia.edu/JuanVuletich
>     <http://independent.academia.edu/JuanVuletich>
>     patents.justia.com/inventor/juan-manuel-vuletich
>     <http://patents.justia.com/inventor/juan-manuel-vuletich>
>     linkedin.com/in/juan-vuletich-75611b3
>     <http://linkedin.com/in/juan-vuletich-75611b3>
>     twitter.com/JuanVuletich <http://twitter.com/JuanVuletich>
>


-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240318/22e7c8ed/attachment.htm>


More information about the Cuis-dev mailing list