IDE extensions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

IDE extensions

Schwab,Wilhelm K
Another Dolphin concept that Squeak would do well to emulate is
triggering an event when new tool shells are opened.  This allows easy
creation of extensions to the IDE, w/o having to modify base system code
that can clash with future updates.  Any time a relevant shell is
opened, it triggers #viewOpened: off of its _class_, with itself as an
argument.  Then one can do things like

   Debugger when:#viewOpened: send:#hackDebuggerMenu to:self

to modify menus, etc.  It might be of greater utility in Dolphin than in
Squeak, but any gaps might stimulate improvements in Squeak.

Bill



Wilhelm K. Schwab, Ph.D.
University of Florida
Department of Anesthesiology
PO Box 100254
Gainesville, FL 32610-0254

Email: [hidden email]
Tel: (352) 846-1285
FAX: (352) 392-7029

_______________________________________________
UI mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/ui
Reply | Threaded
Open this post in threaded view
|

RE: IDE extensions

Gary Chambers-4
That does kind of break encapsulation, in a way. As for the menus, Squeak
tends to create them dynamically on each use so you'd need an
"aboutToPopup:" kind of event.

I agree that it would be nice if the IDE tools were more dynamically
pluggable though.

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of
> Bill Schwab
> Sent: 30 September 2007 6:00 pm
> To: [hidden email]
> Subject: [UI] IDE extensions
>
>
> Another Dolphin concept that Squeak would do well to emulate
> is triggering an event when new tool shells are opened.  This
> allows easy creation of extensions to the IDE, w/o having to
> modify base system code that can clash with future updates.  
> Any time a relevant shell is opened, it triggers #viewOpened:
> off of its _class_, with itself as an argument.  Then one can
> do things like
>
>    Debugger when:#viewOpened: send:#hackDebuggerMenu to:self
>
> to modify menus, etc.  It might be of greater utility in
> Dolphin than in Squeak, but any gaps might stimulate
> improvements in Squeak.
>
> Bill
>
>
>
> Wilhelm K. Schwab, Ph.D.
> University of Florida
> Department of Anesthesiology
> PO Box 100254
> Gainesville, FL 32610-0254
>
> Email: [hidden email]
> Tel: (352) 846-1285
> FAX: (352) 392-7029
>
> _______________________________________________
> UI mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/ui
>

_______________________________________________
UI mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/ui