@Override
public void update(Observable obs, Object objEvt)
{
if (objEvt instanceof GfrEvtMdlSttSngSelTlo)
{
GfrEvtMdlSttSngAbs evt = (GfrEvtMdlSttSngAbs) objEvt;
String strId = evt.getKey();
if (strId.compareTo(super._strId) != 0)
return;
boolean blnValue = evt.getValue();
if (blnValue && super._blnIsSelected)
return;
if (!blnValue && !super._blnIsSelected)
return;
super.setSelected(blnValue);
// TRICK
if (super._tree != null)
{
((GfrTreCtrTopSpcTogChkPrjSelCatTlosAbs) super._tree).fireValueChangedTrick();
}
return;
}
if (objEvt instanceof GfrEvtMdlIdDatRenamedTlo)
{
GfrEvtMdlIdDatRenamedTlo evt = (GfrEvtMdlIdDatRenamedTlo) objEvt;
String strId = evt.getId();
if (strId.compareTo(this._strId) != 0)
return;
((IGfrHandlerRenamerChildNode) super.getParent()).renameChildNode(this, evt.getValueNew());
return;
}
super.update(obs, objEvt);