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 (dse.in) as shown in the following example:
<kColl id="tags">
  .....
  <kColl id="types">
    ....
    <field id="state" value="myPackageName.myElementStateClassName" />
  </kColl>
</kColl>