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: 'lkjlkjjkl' |
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 document it now, while we know what is missing. Uko > On 30 Sep 2014, at 20:41, stepharo <[hidden email]> 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. > > > -> DNU > > UIManager default > edit: 'jlklkjk' > label: 'lkjlkjjkl' > |
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 <[hidden email]> wrote: Hi, "Every thing has its own flow"
|
In reply to this post by stepharo
On 30 Sep 2014, at 20:41, stepharo <[hidden email]> 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' > signature.asc (210 bytes) Download Attachment |
Exactly. I created an entry for this: Cheers, Doru On Wed, Oct 1, 2014 at 9:20 AM, Marcus Denker <[hidden email]> wrote:
"Every thing has its own flow"
|
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 <[hidden email]> wrote:
|
How did you fix it? Doru On Wed, Oct 1, 2014 at 10:22 AM, Andrei Chis <[hidden email]> wrote:
"Every thing has its own flow"
|
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 <[hidden email]> wrote:
|
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 <[hidden email]> wrote:
"Every thing has its own flow"
|
On 01 Oct 2014, at 10:58, Tudor Girba <[hidden email]> wrote:
Yes!
signature.asc (210 bytes) Download Attachment |
Free forum by Nabble | Edit this page |