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: bschwab@anest.ufl.edu Tel: (352) 846-1285 FAX: (352) 392-7029
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: ui-bounces@lists.squeakfoundation.org [mailto:ui-bounces@lists.squeakfoundation.org] On Behalf Of Bill Schwab Sent: 30 September 2007 6:00 pm To: ui@lists.squeakfoundation.org 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: bschwab@anest.ufl.edu Tel: (352) 846-1285 FAX: (352) 392-7029
UI mailing list UI@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/ui