COMRack - a Rack implementation without ZClass requirement
COMRack - a Rack implementation without ZClass requirement
COMRack is meant to be a replacement for normal Racks but without the need for a special ZClass to be defined.
To use it simply choose a COMRack from the dropdown box (instead of Rack). Then implement your AttributeProviders to read and store the attributes you want to use.
COMRack will return a dataskin derived class which has the following additional methods::
- set(name,value)
- sets a value for the named attribute
- get(name)
- fetchs the value for the named attribute
of course you can also simly say object.
So basically all is the same just that you don't have to call the propertysheets methods to modify values, you just use set() on the object.
Prerequisites
In order to be able to use it you need a recent version of ZPatterns.