I'm in the process of getting rid of Globals.views.

As a consequence I've changed CallItemMethodAsync. In addition to taking an item that you want to call a method on, it now also accepts a block name (as a string) in place of the item. In this case the method will be called on the block with that name. So instead doing:

theApp.CallItemMethodAsync(Globals.views[0], "setStatusMessage", "status message")

you can now do:

theApp.CallItemMethodAsync("MainView", "setStatusMessage", "status message")

I've updated the Amazon parcel to message blocks by name -- it really simplified the code and eliminated the confusion between repository view and UI views.

John


_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to