World Library  
Flag as Inappropriate
Email this Article

Workplace Shell

Article Id: WHEBN0000679630
Reproduction Date:

Title: Workplace Shell  
Author: World Heritage Encyclopedia
Language: English
Subject: OS/2, OS-2 W4.png, WPS, Presentation Manager, Drag and drop
Collection: Desktop Environments, Os/2
Publisher: World Heritage Encyclopedia

Workplace Shell

The OS/2 Warp 4 desktop

The Workplace Shell (WPS) is an object-oriented desktop shell (also called Desktop Environment) produced by IBM's Boca Raton development lab for OS/2 2.0. It is based on Common User Access and made a radical shift away from the Program Manager type interface that earlier versions of OS/2 shared with Windows 3.x or the application-oriented WIMP interface of the Apple 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 called eComStation 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 an interface definition language (IDL). SOM and its IDL was developed by IBM in their Austin, Texas lab. The classes can easily be manipulated by sending simple settings strings (like "KEYWORD=VALUE;") to them both via a C and a Rexx API.[1][2]

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.

A 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


  1. ^ Oscar Cepeda (May 12, 1994). OS/2 Configuration Techniques: "Cracking" the Workplace Shell. IBM Redbooks. IBM Corporation, International Technical Support Organization.  
  2. ^ Mindy Pollack (1995). Marc A. Stock, ed. OS/2 Workplace Shell API. New York: Wiley.  

External links

  • A well-known free and open source Workplace Shell extension package named xWorkplace (for extended workplace) makes widely use of class replacement, introducing many new features to the user interface.
  • osFree, which seeks to entirely reimplement OS/2 as free software.
  • For OS/2 and eComStation developers, the Workplace Shell Toolkit eases common programming tasks when creating WPS classes, as well as for plain Presentation Manager programming.
  • DFM (Desktop File Manager) is a Linux file manager for the X Window System, inspired by the WPS.
  • Workplace Shell for Windows is a freeware clone of the WPS made for Windows unofficially by IBM employees.
  • Download Workplace Shell for Windows
  • OS2eZine Article: WPS for Windows v1.51
  • Download Workplace Shell for Windows 2.0 Source Code
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.