Aha! The mysteries are unfolding!
Doesn't quite get me there yet since the #ok message is just:
--
ok
"Apply the changes and close."
self
cancelled: false;
applyChanges;
delete
--
but maybe I can find the right thing now using the same methodology.
Looking for how the ChangeSorter actually does its create new ChangeSet deed.
Thx,
Ken
At 7:48 AM +0200 4/10/08, Damien Cassou apparently wrote:
>Do know what is being executed:
>
>- use the third mouse button to display the allows of the dialog
>- press this button again until the button is selected (you will see
>PluggableButtonMorphPlus at the bottom line of the halos)
>- press the 'wrench' button on the right (named 'debug')
>- select 'explore morph'
>- click on the '+' sign to unfold
>- the 'model' property tells you where the message will be sent (an
>instance of TextEntryDialogWindow)
>- the 'actionSelector' property tells you that the message is #ok.
>
>So, #ok will be sent to an instance of TextEntryDialogWindow. You can
>now browse TextEntryDialogWindow, right click on the class, open '
>Protocol browser'. Select '--all--', in the method list select 'ok'.
>You will see that the #ok method is implemented in the DialogWindow
>class a superclass of TextEntryDialogWindow.
>
>Have a nice day
>
>On Wed, Apr 9, 2008 at 9:11 PM, Ken G. Brown <
kbrown@...> wrote:
>> Hi, I have a question about where to find what actually gets executed when you click a button.
>> sq3.10-7159dev08.04.1 with UI Enhancements
>>
>> eg. Open a simple ChangeSorter, opt-click to make a new ChangeSet, enter the name. What gets done when you click ok?
>> I've dragged a copy of the button off and explored and inspected but cannot find what the button action actually is.
>> I seem to be missing some key understanding on how the button in this case works.
>>
>> My goal, and reason for looking into this particular thing, is to programmatically create a new ChangeSet in an Installer script, so answering how to do that would help too.
>>
>> Thx,
>> Ken G. Brown
>> _______________________________________________
>> UI mailing list
>>
UI@...
>>
http://lists.squeakfoundation.org/mailman/listinfo/ui>>
>
>
>
>--
>Damien Cassou
>Peter von der Ahé: «I'm beginning to see why Gilad wished us good
>luck». (
http://blogs.sun.com/ahe/entry/override_snafu)
>
>_______________________________________________
>UI mailing list
>
UI@...
>
http://lists.squeakfoundation.org/mailman/listinfo/ui_______________________________________________
UI mailing list
UI@...
http://lists.squeakfoundation.org/mailman/listinfo/ui