[squeak-dev] Re: Injecting objects into Workspace bindings

Chris Muller ma.chris.m at gmail.com
Thu Mar 17 16:55:59 UTC 2016


All Jakob had to do was "do it" on:

  myXml := '<SomeElement>.... all kinds of XML ... </SomeElement>'

He now has access to myXml.  Then replace all the text in the
workspace with that from the other workspace.  Done.

I guess I see Workspaces for learning and discovery for newbies.
Short, simple, explorations of syntax and class library.

Attempting to do work as complex as parsing a large XML is going to
present further challenges above and beyond accessing an object.  If
someone feels the need to "link workspaces" they really should stop
and consider just making a class.  In fact, I think linked workspaces
would lead a newbie down the wrong path..

On Thu, Mar 17, 2016 at 11:28 AM, karl ramberg <karlramberg at gmail.com> wrote:
>
>
> On Thu, Mar 17, 2016 at 4:39 PM, Chris Muller <asqueaker at gmail.com> wrote:
>>
>> On Thu, Mar 17, 2016 at 4:58 AM, Bert Freudenberg <bert at freudenbergs.de>
>> wrote:
>> >
>> > On 17.03.2016, at 01:43, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>> >
>> >
>> >
>> > On Wed, Mar 16, 2016 at 11:58 AM, Bert Freudenberg
>> > <bert at freudenbergs.de>
>> > wrote:
>> >>
>> >>
>> >> > On 16.03.2016, at 18:48, marcel.taeumel <Marcel.Taeumel at hpi.de>
>> >> > wrote:
>> >> >
>> >> > Mabye we need a simple way to link bindings across tools. Then, for
>> >> > example,
>> >> > we could simple connect a Workspace window to the text box in the
>> >> > Inspector
>> >> > (resp. Object Explorer) and all would share the same bindings. Then,
>> >> > you
>> >> > could simply select stuff in the Object Explorer, evaluate "x :=
>> >> > self"
>> >> > and
>> >> > you would have access to x in that other Workspace (resp. Inspector's
>> >> > text
>> >> > box).
>> >>
>> >> Not a bad idea … what could be a UI for connecting workspaces?
>>
>> Why not just invoke the halos on the inspectors built-in workspace and
>> clone it with the upper-green button and use that?
>>
> This would break workflow I think because like Jacob wrote, you open a file
> in a Workspace and you need a reference to that from another already open
> Workspace.
>
> How about another copy command, like 'copy as reference' and then you could
> paste it in another Workspace ?
>
>
> Best,
> Karl


More information about the Squeak-dev mailing list