[Pharo-project] UIMananger
Do you all think it might be a good idea to extend the UIManager protocol to include things like colour pickers (and other, like print etc.)? I'm sure we can all think of things that would be desirable as standard "utility" dialogs. Best to get the interface in early to ensure adoption. Regards, Gary.
It would make sense to me. Since there a finite number of widgets (that is not so big after all), best is to have one single place in the system to look for. That said without having looked at other GUI systems. I am wondering how this is done in ObjectiveC/Cocoa. Cheers, Alexandre On 1 Dec 2008, at 14:27, Gary Chambers wrote:
Do you all think it might be a good idea to extend the UIManager protocol to include things like colour pickers (and other, like print etc.)? I'm sure we can all think of things that would be desirable as standard "utility" dialogs. Best to get the interface in early to ensure adoption.
Regards, Gary.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
i started writing a new tool registry, where you don't need to 'extend' protocol - you just simply registering/unregistering tools. Try it out. - file in .st - then .cs a tool registry completely resembles a ToolSet protocol. But, in addition, it makes things more flexible: you write Smalltalk tools UIManager instead of UIManager default or Smalltalk tools browser instead of SystemBrowser default it would be nice to see similar in UIManager, e.g. manager registerTool: #colorPicker class: MyCoolColorPicker. and then simply use: manager colorPicker new openInWorld 2008/12/1 Gary Chambers <gazzaguru2@btinternet.com>:
Do you all think it might be a good idea to extend the UIManager protocol to include things like colour pickers (and other, like print etc.)? I'm sure we can all think of things that would be desirable as standard "utility" dialogs. Best to get the interface in early to ensure adoption.
Regards, Gary.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
Sounds good... just need a reasonable default set. I guess I can convince Pinesoft to release some of the Report Builder UI stuff wrt printing... Regards, Gary. ----- Original Message ----- From: "Igor Stasenko" <siguctua@gmail.com> To: "Pharo Development" <pharo-project@lists.gforge.inria.fr> Sent: Monday, December 01, 2008 5:47 PM Subject: Re: [Pharo-project] UIMananger
i started writing a new tool registry, where you don't need to 'extend' protocol - you just simply registering/unregistering tools.
Try it out. - file in .st - then .cs
a tool registry completely resembles a ToolSet protocol. But, in addition, it makes things more flexible:
you write
Smalltalk tools UIManager
instead of UIManager default
or Smalltalk tools browser
instead of SystemBrowser default
it would be nice to see similar in UIManager, e.g.
manager registerTool: #colorPicker class: MyCoolColorPicker.
and then simply use:
manager colorPicker new openInWorld
2008/12/1 Gary Chambers <gazzaguru2@btinternet.com>:
Do you all think it might be a good idea to extend the UIManager protocol to include things like colour pickers (and other, like print etc.)? I'm sure we can all think of things that would be desirable as standard "utility" dialogs. Best to get the interface in early to ensure adoption.
Regards, Gary.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
--------------------------------------------------------------------------------
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
The problem is that I'm scared about this global variable. Stef
Do you all think it might be a good idea to extend the UIManager protocol to include things like colour pickers (and other, like print etc.)? I'm sure we can all think of things that would be desirable as standard "utility" dialogs. Best to get the interface in early to ensure adoption.
Regards, Gary.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Igor I was thinking about what you propose. I do not understand why a simple extension is not better. I do not understand why we should involved Smalltalk
you write
Smalltalk tools UIManager
instead of UIManager default
or Smalltalk tools browser
instead of SystemBrowser default
it would be nice to see similar in UIManager, e.g.
manager registerTool: #colorPicker class: MyCoolColorPicker.
and then simply use:
manager colorPicker new openInWorl
I do not understand the gain of your approach. Stef
participants (4)
-
Alexandre Bergel -
Gary Chambers -
Igor Stasenko -
Stéphane Ducasse