question: public UrlContextMenu ( String url , boolean deleted , ContextMenuListener listener ) { this . url = url ; this . listener = listener ; if ( deleted ) { addItem ( "" , "Warning: Link may be malicious" ) ; addSeparator ( ) ; } addItem ( "open" , "Open link" ) ; addItem ( "copy" , "Copy to clipboard" ) ; Matcher m = channelFromUrl . matcher ( url ) ; if ( m . matches ( ) ) { channel = m . group ( 1 ) ; addSeparator ( ) ; addItem ( "join" , "Join #" + channel ) ; } }
target:  Contructs a new Context Menu.