PostWhat WPS Class Example: Difference between revisions
Appearance
Created page with "==Description== PostWhat WPS Class Example is a WPS class made by Lars Erdmann. This class implements yellow sticky notes on WPS as a learning process for SOM/WPS. This c..." |
|||
Line 17: | Line 17: | ||
==Download== | ==Download== | ||
* [] | * [Version 0.1] | ||
==License== | ==License== |
Revision as of 15:54, 1 December 2013
Description
PostWhat WPS Class Example is a WPS class made by Lars Erdmann.
This class implements yellow sticky notes on WPS as a learning process for SOM/WPS.
This class is derived from the WPAbstract class (which also means it is placing all its content text into OS2.INI ...)
As an additional learning effort Lars also implemented a replacement class for the one created, just changing the coloring from a yellow sticky note to a red sticky note.
There are quite a few things you can learn from this example:
- How to remove and add menu items to an objects menu and tie these to functionality.
- How to add a completely new view to an object (that is none of the icon/structure/tree views but rather a new custom view), how to add this new view to the use list and how to make it show up in the window list.
- How to do some cleanup in OS2.INI on object deletion where WPAbstract does not do the job properly.
- How to do exception handling for a WPS class.
- How FFST (first failure support technology) works to add logging info to the system log (used by the classes to write exception info to the system log)
- How a replacement class works / how you derive one class from another class.
Download
- [Version 0.1]
License
- BSD 3 Clause