PTP 6.0.0 Changes

A number of new features and changes have been included in the 6.0.0 release.

  1. The property element has been removed completely. Since properties and attributes were essentially identical, removing the property element reduces confusion as to when they should be used.
  2. The buttonId attribute on a widget is now global. In the previous version button IDs were local to each tab. This allows a button on one tab to change the state of a control on a different tab;
  3. The control-state element now supports obtaining state by comparing an attribute value to a string;
  4. The saveValueTo attribute on a widget has been renamed to simply attribute. This is to reflect the fact that an widget can read from and save to an attribute.
  5. The arg element now has an attribute attribute. If supplied, this will be compared to the isUndefIfMatches string rather than the element content in order to determine if the argument is defined or not.

PTP 5.0.1 Changes

Aside from some significant bug fixes, there are a number of new features with the 5.0.1 release.

  1. The widget component has been split up into three components: widget , button-group , and browse ;
  2. action push-button functionality has been added;
  3. control-state elements have been added to all UI control descriptors;
  4. The launch tab import controller type has been modified (largely for maintaining uniformity of implementation) to subclass the dynamic controller;
  5. Ability to inspect invisible discovered (excluded) properties and attributes via a "View" button (see note) has been added;
  6. Preferences have been added to help with the debugging of stream tokenizers;
  7. Resource Manager "environment" handling has been totally rewritten in order to support the exclusion of properties associated with invisible or disabled widgets, and to allow for the restoration of their values when re-enabled.

In addition, some tweaking of the SWT "knobs" was necessary to get the XML to reflect more closely the behavior of the Java classes (especially in terms of defaults).