Le 26/09/2013 21:54, Sean P. DeNigris a écrit :
Goubier Thierry wrote
answer := UIManager default
     chooseFileReference: 'Select a file'
     path: aFileReference
     pattern: '*.png'
     name: nil

I can't tell if that captures the full options of fileDialogWindow without a
bit more investigation, but that would be a great improvement over the
current mess. I feel that whatever we do should be coupled with moving the
open/answer logic into that single entry point and out of UITheme. UITheme
should only provide the morph.

I'd do a change for a single entry point in UIManager, the theme also providing a single entry point for creating the dialog.

Sounds doable without many changes to the dialog code itself.

Thierry
--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95

Reply via email to