[Cuis-dev] set Morph color from menu
Phil B
pbpublist at gmail.com
Tue Mar 10 09:14:46 PDT 2020
I do this as well... #prePackageInstall is your friend.
On Tue, Mar 10, 2020 at 12:02 PM Hernan Wilkinson via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:
> What I do in those cases is to copare if the current version of the base
> image is the same as when I overwrote it on the package, if not, I failed
> the initialization of the package.
> Doing so, you don't loose the changes made in the base image.
> The same thing should be done if you subclass and overwrite some methods
> in the subclass...
>
>
> On Tue, Mar 10, 2020 at 10:10 AM Juan Vuletich via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
>> On 3/9/2020 7:18 PM, ken.dickey--- via Cuis-dev wrote:
>> > On 2020-03-09 10:11, Juan Vuletich via Cuis-dev wrote:
>> > ..
>> >> Please add your #changeColor as an override to Morphic-Misc1.
>> >> Otherwise we'd be adding 2 undeclared references to the base image.
>> >
>> > Wow! I didn't know you could do that (override a base method in a
>> > Package).
>> >
>> > Done.
>> >
>> > -KenD
>>
>> Usually we don't advice overriding methods. Especially slight
>> modifications of the code in the base image, as they will most likely be
>> left behind and break when the base image version changes. But in this
>> case, I think it is the best option.
>>
>> Thanks,
>>
>> --
>> Juan Vuletich
>> www.cuis-smalltalk.org
>> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
>> https://github.com/jvuletich
>> https://www.linkedin.com/in/juan-vuletich-75611b3
>> @JuanVuletich
>>
>> --
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>
>
> --
>
> *Hernán WilkinsonAgile Software Development, Teaching & Coaching*
> *Phone: +54-011*-4893-2057
> *Twitter: @HernanWilkinson*
> *site: http://www.10Pines.com <http://www.10pines.com/>*
> Address: Alem 896, Floor 6, Buenos Aires, Argentina
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200310/0ba51f8f/attachment-0001.htm>
More information about the Cuis-dev
mailing list