mmm... I vote for keep it optional. I don't like panic buttons... well, maybe just one I seen long time ago, It was a in an arcade game, and if you press the button, the desktop changed into a "turbo prolog" screen... it was very useful at the time, in the university lab :)

On 2010-03-25 07:42:27 -0300, Mariano Martinez Peck <[email protected]> said:



On Thu, Mar 25, 2010 at 11:37 AM, Carla F. Griggio
<[email protected]>wrote:

Adding the functionality as a package would be ok, in fact, we are
setting up an image specially made for the courses with some tools we
hope will help the students learn oop (like an object browser an
object inspectors as object diagrams).


Yes, of course. But probably it can be useful for other people too. So,
adding it to the PharoDev may a good idea.
It is just two lines of code and it is very useful.

Cheers

Mariano



Thanks Mariano!
Carla

On Thursday, March 25, 2010, St=E9phane Ducasse <[email protected]=
r>
wrote:
If they need something like that they can add it in a specific package
and load it in their image
it should not be difficult.

Stef

On Mar 24, 2010, at 10:23 PM, Mariano Martinez Peck wrote:

Hi folks.

<OT> In my university were I was graduated, used to teach with Dolphin
few years ago, then squeak and this semester they will probably start to
teach with Pharo. The good thing is that they have like 6 courses, with 5=
0
students each course....so, it is good :)   I hope several of them join t=
he
community.
Carla, anything to say about PDP?  ;)
</OT>

I was talking with them, and they missed (me too) a little utility tha=
t
was in Dolphin and that I remember in VAST: the panic button. In dolphin =
is
"panic", in VAST I don't remember exactly.
But basically, what it does is to close ALL what it is open. All kind =
of
windows, popups or anything. Right now, we have a "Delete unchanged windo=
ws"
but:

- it only takes into account windows. I want to close everything:
transcripts, workspaces, popups, etc. Even more, OCompletion sometimes le=
ts
some popups alive and users (mostly beginners) don't know how to remove
them.
- I want to close ALL windows, I don't care if you were editing or not=
.
- I dont like the name "Delete unchanged Windows". Can we renamed to
"Close unchanged windows" ?

So...I can add it to the "Windows" -> "Panic"
I am not sure if Panic is the best name. Do you have better ideas?

Basically, it does this:


World submorphs reject:  [:m | m =3D=3D LogoImageMorph default ]  then=
Do:
[:each | each delete]

(remove all World submorphs but the Pharo logo)

The first question is, do you like the idea?  should I add it ?

The second is, how can I delete a SystemWindows that has been being
edited without saving ?  because right now, the popup raises saying "Chan=
ges
has not been saved....".
I want to delete them without asking. I have no idea how to do this.
Help ?
maybe there is a preference or notifier that I can turn of before the
execution and then put it back ?   I searched in Morph to see if there is=
 a
deleteWithoutAsking or similar but I didn't find anything.

Thanks

Mariano


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



<br><br><div class=3D"gmail_quote">On Thu, Mar 25, 2010 at 11:37 AM, Carla =
F. Griggio <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]"=
[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204=
, 204, 204); padding-left: 1ex;">
Adding the functionality as a package would be ok, in fact, we are<br>
setting up an image specially made for the courses with some tools we<br>
hope will help the students learn oop (like an object browser an<br>
object inspectors as object diagrams).<br></blockquote><div><br>Yes, of cou=
rse. But probably it can be useful for other people too. So, adding it to t=
he PharoDev may a good idea. <br>It is just two lines of code and it is ver=
y useful. <br>
<br>Cheers<br><br>Mariano<br>=A0</div><blockquote class=3D"gmail_quote" sty=
le=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);=
 padding-left: 1ex;">
<br>
Thanks Mariano!<br>
<font color=3D"#888888">Carla<br>
</font><div><div></div><div class=3D"h5"><br>
On Thursday, March 25, 2010, St=E9phane Ducasse &lt;<a href=3D"mailto:steph=
[email protected]">[email protected]</a>&gt; wrote:<br>
&gt; If they need something like that they can add it in a specific package=
 and load it in their image<br>
&gt; it should not be difficult.<br>
&gt;<br>
&gt; Stef<br>
&gt;<br>
&gt; On Mar 24, 2010, at 10:23 PM, Mariano Martinez Peck wrote:<br>
&gt;<br>
&gt;&gt; Hi folks.<br>
&gt;&gt;<br>
&gt;&gt; &lt;OT&gt; In my university were I was graduated, used to teach wi=
th Dolphin few years ago, then squeak and this semester they will probably =
start to teach with Pharo. The good thing is that they have like 6 courses,=
 with 50 students each course....so, it is good :) =A0 I hope several of th=
em join the community.<br>

&gt;&gt; Carla, anything to say about PDP? =A0;)<br>
&gt;&gt; &lt;/OT&gt;<br>
&gt;&gt;<br>
&gt;&gt; I was talking with them, and they missed (me too) a little utility=
 that was in Dolphin and that I remember in VAST: the panic button. In dolp=
hin is &quot;panic&quot;, in VAST I don&#39;t remember exactly.<br>
&gt;&gt; But basically, what it does is to close ALL what it is open. All k=
ind of windows, popups or anything. Right now, we have a &quot;Delete uncha=
nged windows&quot; but:<br>
&gt;&gt;<br>
&gt;&gt; - it only takes into account windows. I want to close everything: =
transcripts, workspaces, popups, etc. Even more, OCompletion sometimes lets=
 some popups alive and users (mostly beginners) don&#39;t know how to remov=
e them.<br>

&gt;&gt; - I want to close ALL windows, I don&#39;t care if you were editin=
g or not.<br>
&gt;&gt; - I dont like the name &quot;Delete unchanged Windows&quot;. Can w=
e renamed to &quot;Close unchanged windows&quot; ?<br>
&gt;&gt;<br>
&gt;&gt; So...I can add it to the &quot;Windows&quot; -&gt; &quot;Panic&quo=
t;<br>
&gt;&gt; I am not sure if Panic is the best name. Do you have better ideas?=
<br>
&gt;&gt;<br>
&gt;&gt; Basically, it does this:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; World submorphs reject: =A0[:m | m =3D=3D LogoImageMorph default ]=
 =A0thenDo: [:each | each delete]<br>
&gt;&gt;<br>
&gt;&gt; (remove all World submorphs but the Pharo logo)<br>
&gt;&gt;<br>
&gt;&gt; The first question is, do you like the idea? =A0should I add it ?<=
br>
&gt;&gt;<br>
&gt;&gt; The second is, how can I delete a SystemWindows that has been bein=
g edited without saving ? =A0because right now, the popup raises saying &qu=
ot;Changes has not been saved....&quot;.<br>
&gt;&gt; I want to delete them without asking. I have no idea how to do thi=
s. Help ?<br>
&gt;&gt; maybe there is a preference or notifier that I can turn of before =
the execution and then put it back ? =A0 I searched in Morph to see if ther=
e is a deleteWithoutAsking or similar but I didn&#39;t find anything.<br>

&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt;<br>
&gt;&gt; Mariano<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Pharo-project mailing list<br>
&gt;&gt; <a href=3D"mailto:[email protected]";>Pharo-proje=
[email protected]</a><br>
&gt;&gt;

<a href=3D"http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/p=
haro-project" target=3D"_blank">http://lists.gforge.inria.fr/cgi-bin/mailma=
n/listinfo/pharo-project</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pharo-project mailing list<br>
&gt; <a href=3D"mailto:[email protected]";>pharo-proj...@l=
ists.gforge.inria.fr</a><br>
&gt;

<a href=3D"http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo=
-project" target=3D"_blank">http://lists.gforge.inria.fr/cgi-bin/mailman/li=
stinfo/pharo-project</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Pharo-project mailing list<br>
<a href=3D"mailto:[email protected]";>pharo-proj...@lists.=
gforge.inria.fr</a><br>
<a

href=3D"http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-proj=
ect" target=3D"_blank">http://lists.gforge.inria.fr/cgi-bin/mailman/listinf=
o/pharo-project</a><br>
</div></div></blockquote></div><br>




_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to