public static void showCSH ( BaseComponent component ) { while ( component != null ) { HelpContext target = ( HelpContext ) component . getAttribute ( CSH_TARGET ) ; if ( target != null ) { HelpUtil . show ( target ) ; break ; } component = component . getParent ( ) ; } }
Display context - sensitive help associated with the specified component . If none is associated with the component its parent is examined and so on . If no help association is found no action is taken .