if (lstPickedObjects!=null && !lstPickedObjects.isEmpty())
{
for (PickedObject potCur:lstPickedObjects )
{
Layer lyrCur = potCur.getParentLayer();
if (lyrCur == null)
continue;
this._lyrDragged_ = lyrCur;
// hide label if any
if (this._lyrDragged_ instanceof GfrRlrObjTloRndSngPntAbs)
{
((GfrRlrObjTloRndSngPntAbs) this._lyrDragged_).setVisibleAnnotation(false);
}
else if (this._lyrDragged_ instanceof GfrRlrObjTloRndMltAbs)
{
((GfrRlrObjTloRndMltAbs) this._lyrDragged_).setVisibleAnnotation(false);
}
else if (this._lyrDragged_ instanceof GfrRlrObjTloRndSngSurfaceAbs)
{
((GfrRlrObjTloRndSngSurfaceAbs) this._lyrDragged_).setVisibleAnnotation(false);
}
else
{
System.err.println(">> started dragging tbrls : lyrCur.getClass().toString()=" + lyrCur.getClass().toString());
}
break;
}
}