#NEWLINE# def onModuleLoad( self ) : #NEWLINE# #INDENT# self . remote = InfoServicePython ( ) #NEWLINE# self . tree_width = 200 #NEWLINE# self . tp = HorizontalPanel ( ) #NEWLINE# self . tp . setWidth ( ( '%dpx' % self . tree_width ) ) #NEWLINE# self . treeview = Trees ( ) #NEWLINE# self . treeview . fTree . addTreeListener ( self ) #NEWLINE# self . sp = ScrollPanel ( ) #NEWLINE# self . tp . add ( self . treeview ) #NEWLINE# self . sp . add ( self . tp ) #NEWLINE# self . sp . setHeight ( '100%' ) #NEWLINE# self . horzpanel1 = HorizontalPanel ( ) #NEWLINE# self . horzpanel1 . setSize ( '100%' , '100%' ) #NEWLINE# self . horzpanel1 . setBorderWidth ( 1 ) #NEWLINE# self . horzpanel1 . setSpacing ( '10px' ) #NEWLINE# self . rp = RightPanel ( ) #NEWLINE# self . rps = ScrollPanel ( ) #NEWLINE# self . rps . add ( self . rp ) #NEWLINE# self . rps . setWidth ( '100%' ) #NEWLINE# self . rp . setWidth ( '100%' ) #NEWLINE# self . cp1 = CollapserPanel ( self ) #NEWLINE# self . cp1 . setWidget ( self . sp ) #NEWLINE# self . cp1 . setHTML ( '&nbsp;' ) #NEWLINE# self . midpanel = MidPanel ( self ) #NEWLINE# self . cp2 = CollapserPanel ( self ) #NEWLINE# self . cp2 . setWidget ( self . midpanel ) #NEWLINE# self . cp2 . setHTML ( '&nbsp;' ) #NEWLINE# self . horzpanel1 . add ( self . cp1 ) #NEWLINE# self . horzpanel1 . add ( self . cp2 ) #NEWLINE# self . horzpanel1 . add ( self . rps ) #NEWLINE# self . cp1 . setInitialWidth ( ( '%dpx' % self . tree_width ) ) #NEWLINE# self . cp2 . setInitialWidth ( '200px' ) #NEWLINE# RootPanel ( ) . add ( self . horzpanel1 ) #NEWLINE# width = Window . getClientWidth ( ) #NEWLINE# height = Window . getClientHeight ( ) #NEWLINE# self . onWindowResized ( width , height ) #NEWLINE# Window . addWindowResizeListener ( self )