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 <[email protected]>
wrote:

> There is an acceptsContents: on GLMSystemWindow that delegates to the
> model, which in this case is the playground.
>
> On Wed, Oct 1, 2014 at 10:26 AM, Tudor Girba <[email protected]> wrote:
>
>> How did you fix it?
>>
>> Doru
>>
>> On Wed, Oct 1, 2014 at 10:22 AM, Andrei Chis <[email protected]>
>> wrote:
>>
>>> 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 <[email protected]>
>>> wrote:
>>>
>>>> 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 <[email protected]>
>>>> wrote:
>>>>
>>>>>
>>>>> On 30 Sep 2014, at 20:41, stepharo <[email protected]> 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.
>>>>> >
>>>>> >
>>>>>
>>>>>
>>>>> Yes, we are abusing the workspace for an editor, this is not good.
>>>>>
>>>>> We should have an editor that is an editor, not a workspace.
>>>>>
>>>>> > -> DNU
>>>>> >
>>>>> > UIManager default
>>>>> >        edit: 'jlklkjk'
>>>>> >        label: 'lkjlkjjkl'
>>>>> >
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "Every thing has its own flow"
>>>>
>>>
>>>
>>
>>
>> --
>> www.tudorgirba.com
>>
>> "Every thing has its own flow"
>>
>
>


-- 
www.tudorgirba.com

"Every thing has its own flow"

Reply via email to