You are not logged in Log in Join
You are here: Home » Members » comlounge » a ZPatterns Rack without the need for ZClasses » COMRack - a Rack implementation without ZClass requirement » View Document

Log in
Name

Password

 

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. to get the attribute.

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.