Implementing a new ElementState class

About this task
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>