protected function addStatesToTrack()
{
$states = $this->getStatesToTrack();
$states['Visible'] = array('TScalarDiff', array($this, 'updateVisible'));
$states['Enabled'] = array('TScalarDiff', array($this, 'updateEnabled'));
$states['Attributes'] = array('TMapCollectionDiff', array($this, 'updateAttributes'));
$states['Style'] = array('TStyleDiff', array($this, 'updateStyle'));
$states['TabIndex'] = array('TScalarDiff', array($this, 'updateTabIndex'));
$states['ToolTip'] = array('TScalarDiff', array($this, 'updateToolTip'));
$states['AccessKey'] = array('TScalarDiff', array($this, 'updateAccessKey'));
}