void function ( IAction arg0 ) { if ( fEditorPart instanceof ITextEditor ) { ITextEditor loc0 = ( ITextEditor ) fEditorPart ; IAction loc1 = loc0 . getAction ( fActionID ) ; if ( loc1 != null ) { loc1 . run ( ) ; } } }
the action must have been enabled for this to have been called , so we must have stored the selection already by this point . concode_field_sep String fActionID concode_elem_sep IAction action concode_elem_sep IEditorPart fEditorPart concode_field_sep void init concode_elem_sep void runWithEvent concode_elem_sep void setActiveEditor concode_elem_sep void selectionChanged concode_elem_sep void dispose