- Workplace Shell
The Workplace Shell (WPS) is an award-winning
object-oriented desktop shell produced byIBM 'sBoca Raton development lab forOS/2 2.0 using GUI technology licensed from Commodore Amiga. [http://www.os2bbs.com/OS2News/OS2Warp.html] It is based onCommon User Access and made a radical shift away from theProgram Manager type interface that earlier versions ofOS/2 shared with Windows 3.x or the application-oriented WIMP interface of theApple Macintosh . The Workplace Shell was also used in OS/2 Warp 3 and Warp 4, and is still the user interface of the revamped successor to OS/2 calledeComStation of Serenity Inc.Although mostly written in C, under the covers the Workplace Shell is implemented as an object-oriented class library, basing on the
System Object Model (SOM). The WPS classes are glued together with aninterface definition language (IDL). SOM and its IDL was developed by IBM in theirAustin, Texas lab.The classes can easily be manipulated by sending simple settings strings (like "KEYWORD=VALUE;") to them both via a C and aRexx API .When implementing a new WPS class, it is derived from an existing class from within the WPS class hierarchy. For modifying, extending or removing certain functionality of the parent class, often only a few methods of the parent class need to be overwritten by the developer. All other functionality of the parent class can safely remain unchanged, ensuring the seamless integration of the added or modified functionality and with that the consistency of the remaining user interface.
The resulting object class is shipped in
DLL form. Once the new object class implemented by it is registered with the Workplace Shell and an instance of this class is created, it can be acted on by the user or other programs as every other Workplace Shell object.An interesting part of the WPS design allows for the developer of a class Y which extends or modifies a class X to execute an additional
API on installation which will let the WPS 'replace' class X by class Y. This will make even all existing instances of class X behave as instances of the modified class Y; i.e., almost a retroactive inheritance. This allows for many useful third-party desktop utilities that add or modify functionality to or of existing objects without access to IBM's source code. Where the IDL and class headers also of derived classes are published, these classes can as well be extended in turn in the same way.See also
*
shadow (OS/2) External links
* A well-known free and open source Workplace Shell extension package named [http://www.xworkplace.org xWorkplace] (for extended workplace) makes widely use of class replacement, introducing many new features to the user interface.
* For OS/2 and eComStation developers, the [http://wpstk.netlabs.org Workplace Shell Toolkit] eases common programming tasks when creating WPS classes, as well as for plainPresentation Manager programming.
* [http://www.kaisersite.de/dfm/ DFM] (Desktop File Manager) is a Linux file manager for the X-Window System, inspired by the WPS.
* [http://toastytech.com/guis/wps.html Workplace Shell for Windows] is a freeware clone of the WPS made for Windows unofficially by IBM employees.
* [http://ftp.gaby.de/pub/win3x/wpsfw151.zip Download Workplace Shell for Windows]
* [http://www.os2ezine.com/v1n6/wps4win.html OS2eZine Article: WPS for Windows v1.51]
* [http://www.ibm.com/developerworks/forums/thread.jspa?threadID=180049 Download Workplace Shell for Windows 2.0 Source Code]
Wikimedia Foundation. 2010.