public void update ( ) { TreeViewer viewer = getTreeViewer ( ) ; if ( viewer != null ) { Control control = viewer . getControl ( ) ; if ( control != null && ! control . isDisposed ( ) ) { initRules ( ) ; populatePackageTreeNode ( ) ; viewer . refresh ( ) ; control . setRedraw ( false ) ; viewer . expandToLevel ( 2 ) ; control . setRedraw ( true ) ; } } }
Updates the outline page .