enable or disable current action from event . concode_field_sep PlaceHolder placeHolder concode_field_sep ThumbnailView getThumbnailView concode_elem_sep ThumbnailView getVisibleThumbnailView
boolean function ( AnActionEvent arg0 ) { ThumbnailView loc0 = getVisibleThumbnailView ( arg0 ) ; Presentation loc1 = arg0 . getPresentation ( ) ; loc1 . setEnabled ( loc0 != null ) ; return loc1 . isEnabled ( ) ; }