question: public void actionPerformed ( java . awt . event . ActionEvent e ) { Object source = e . getSource ( ) ; if ( ! ( source instanceof JMenuItem ) ) return ; JMenuItem mi = ( JMenuItem ) source ; String name = mi . getText ( ) ; OMGraphicHandlerLayer targetLayer = ( OMGraphicHandlerLayer ) layers . get ( name ) ; if ( targetLayer == null ) { Debug . message ( "defaultdndcatcher" , "ERROR> DefaultDnDCatcher::actionPerformed: " + "no layer found with name " + name ) ; return ; } targetLayer . doAction ( ( OMGraphic ) transferData , new OMAction ( OMAction . UPDATE_GRAPHIC_MASK ) ) ; }
target:  Invoked when an action from the popup menu occurs.