public static IHelpViewer getViewer ( boolean forceCreate ) { Page page = getPage ( ) ; IHelpViewer viewer = ( IHelpViewer ) page . getAttribute ( VIEWER_ATTRIB ) ; return viewer != null ? viewer : forceCreate ? createViewer ( page ) : null ; }
Returns an instance of the viewer for the current page . If no instance yet exists and forceCreate is true one is created .