Re: [Pharo-dev] GTTool bug:

2014-10-01 Thread Marcus Denker
On 30 Sep 2014, at 20:41, stepharo steph...@free.fr wrote: edit: aText label: labelString accept: anAction Open an editor on the given string/text ^(Smalltalk tools workspace openLabel: labelString) acceptContents: aText; acceptAction: anAction; yourself.

Re: [Pharo-dev] GTTool bug:

2014-10-01 Thread Tudor Girba
Exactly. I created an entry for this: https://pharo.fogbugz.com/f/cases/14133/UIManager-should-not-overuse-the-workspace-for-editing Cheers, Doru On Wed, Oct 1, 2014 at 9:20 AM, Marcus Denker marcus.den...@inria.fr wrote: On 30 Sep 2014, at 20:41, stepharo steph...@free.fr wrote: edit:

Re: [Pharo-dev] GTTool bug:

2014-10-01 Thread Andrei Chis
I fixed for now the part with acceptsContents: This should work when the issue is integrated UIManager default edit: 'jlklkjk' label: 'lkjlkjjkl'. On Wed, Oct 1, 2014 at 9:50 AM, Tudor Girba tu...@tudorgirba.com wrote: Exactly. I created an entry for this:

Re: [Pharo-dev] GTTool bug:

2014-10-01 Thread Tudor Girba
I think this is the wrong thing to do. We should reimplement the method in the UIManager. Doru On Wed, Oct 1, 2014 at 10:30 AM, Andrei Chis chisvasileand...@gmail.com wrote: There is an acceptsContents: on GLMSystemWindow that delegates to the model, which in this case is the playground. On

Re: [Pharo-dev] GTTool bug:

2014-10-01 Thread Marcus Denker
On 01 Oct 2014, at 10:58, Tudor Girba tu...@tudorgirba.com wrote: I think this is the wrong thing to do. We should reimplement the method in the UIManager. Yes! Doru On Wed, Oct 1, 2014 at 10:30 AM, Andrei Chis chisvasileand...@gmail.com wrote: There is an acceptsContents: on

[Pharo-dev] GTTool bug:

2014-09-30 Thread stepharo
edit: aText label: labelString accept: anAction Open an editor on the given string/text ^(Smalltalk tools workspace openLabel: labelString) acceptContents: aText; acceptAction: anAction; yourself. - DNU UIManager default edit: 'jlklkjk' label:

Re: [Pharo-dev] GTTool bug:

2014-09-30 Thread Yuriy Tymchuk
Hi, I think that there may be sense to create a trait or at least some doc that will say which functionality should current tools implement. Because I believe that it is hard to find out what is used by everyone. And as we have another tools now and some unimplemented things it makes sense to

Re: [Pharo-dev] GTTool bug:

2014-09-30 Thread Tudor Girba
Hi, I think that acceptAction: should not be the responsibility of the playground and that we should implement this behavior with a different widget. Cheers, Doru On Tue, Sep 30, 2014 at 10:20 PM, Yuriy Tymchuk yuriy.tymc...@me.com wrote: Hi, I think that there may be sense to create a