returns the selected element if the selection consists of a single element only . concode_field_sep PlaceHolder placeHolder concode_field_sep void selectAndReveal concode_elem_sep List toList
Object function ( ISelection arg0 ) { if ( ! ( arg0 instanceof IStructuredSelection ) ) return null ; IStructuredSelection loc0 = ( IStructuredSelection ) arg0 ; if ( loc0 . size ( ) != 1 ) return null ; return loc0 . getFirstElement ( ) ; }