Runtime components : Core components : Typed data : Tasks : Implementing a new ElementState class
  
Implementing a new ElementState class
To replace the default implementation that the toolkit provides for the ElementState interface with a new one, add a new data field with the id="state" in the toolkit configuration file (btt.xml) as shown in the following example:
<kColl id="components">
  ...
  <kColl id="type">
    ...
    <kColl id="classTable">
      ...
      <field id="state" value="myPackegeName.myElementStateClassName" />
      ...
    </kColl>
    ...
  </kColl>
  ...
</kColl>
See also
Tasks