[Cuis] [ANN] JSON for Cuis

H. Hirzel hannes.hirzel at gmail.com
Thu Jan 17 10:38:45 CST 2013


Juan,

thank you for the reminder and elaboration about using the halos to
analyze a Morphic GUI.
Actually just as of today I bought a three-button mouse and thus
started using the halos again. So far I had not done this with 4.1.

A real necessity.

--Hannes

On 1/17/13, Juan Vuletich <juan at jvuletich.org> wrote:
> Hi Hannes,
>
> H. Hirzel wrote:
>> Juan,
>> thank you for the 10 updates to Cuis (1550 to 1561, no 1556 and 1557)
>>
>>
>
> Just added them. Thanks.
>
>> ...
>>
>>
>> I realize that one of them (1554?) changed the way the load script for
>> Cuis-JSON I used last Monday to no longer works.
>>
>> When looking for the new solution (classes CodeFileBrowser, FileStream
>> and method names browser looking for methods which include 'install')
>> I could not spot it. An attempt using
>>       CodePackageFile new install: aStream
>> was not successful.
>>
>>
>> So my question is -- how do I need to rewrite the following script (I
>> keep it in a Workspace saved with my working image, KenD style)?
>>
>>
>>     | slash |
>>
>>     slash _ FileDirectory slash.
>>
>>     {
>>          '..', slash, 'Cuis-CompatibilityWithOtherSmalltalks', slash,
>>       'Cuis-CompatibilityWithOtherSmalltalks.pck.st' .
>>
>>          '..', slash, 'Cuis-JSON', slash,
>>       'Cuis-JSON.pck.st'.
>>
>>     }
>>
>>     do:
>>
>>     [ :fileName | CodeFileBrowser installPackage:
>>
>>                  (FileStream concreteStream readOnlyFileNamed: fileName)
>>     ]
>>
>>
>> --Hannes
>>
>
> Open 'Message Names' from the World menu. Search 'installPackage:'. Mhh.
> No luck. Remove the colon (maybe the name changed?). Bingo!
>
> Alternative: Open a file list. Click on a .pck.st file. There we have
> our (install package) button. Open the halo and an explorer. Ivar
> 'actionSelector' is just #performService, sent presumably to the model.
> The model is a SimpleServiceEntry (I didn't name that class!). It has a
> 'selector' ivar. Bingo again!
>
> I guess you can follow from there. Senders and implementors are your
> friends, etc. Good luck.
>
> Cheers,
> Juan Vuletich
>
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>




More information about the Cuis mailing list