gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: jakarta-gump/python/gump/document forrest.py
Date Wed, 10 Dec 2003 15:33:02 GMT
ajack       2003/12/10 07:33:02

  Modified:    python/gump/document forrest.py
  Log:
  Fixes for http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25395
  
  Revision  Changes    Path
  1.34      +10 -9     jakarta-gump/python/gump/document/forrest.py
  
  Index: forrest.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/document/forrest.py,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- forrest.py	9 Dec 2003 00:48:36 -0000	1.33
  +++ forrest.py	10 Dec 2003 15:33:02 -0000	1.34
  @@ -273,7 +273,7 @@
                   
           textRow=definitionTable.createRow()
           textRow.createData('Workspace Documentation')
  -        textRow.createData().createLink('context.xml','Text')
  +        textRow.createData().createLink('context.html','Text')
                   
           syndRow=definitionTable.createRow()
           syndRow.createData('Definition')
  @@ -574,7 +574,7 @@
                   self.resolver.getFile(workspace,'packages'))
           
           mpkgSection=document.createSection('Packaged Modules')
  -        mpkgTable=mpkgSection.createTable(['Name','Project State(s)','Elapsed'])
  +        mpkgTable=mpkgSection.createTable(['Name','State','Project State(s)'])
           mcount=0
           for module in sortedModuleList:           
               if not gumpSet.inModules(module): continue
  @@ -596,21 +596,22 @@
               self.insertLink( module, workspace, moduleRow.createData())
               self.insertStateIcon(module,workspace,moduleRow.createData())
               self.insertStateIcons(gumpSet,module,workspace,moduleRow.createData())
  -            moduleRow.createData(secsToElapsedString(module.getElapsedSecs()))
               
           if not mcount: mpkgTable.createLine('None')
           
           pkgsSection=document.createSection('Packaged Projects')
           packages=gumpSet.getPackagedProjects()
           if packages:
  -            pkgsTable=pkgsSection.createTable(['Name','State','State','Location'])
  -            for package in packages:
  +            pkgsTable=pkgsSection.createTable(['Name','State','Location'])
  +            for project in sortedProjectList:
  +                if not gumpSet.inSequence(project): continue   
  +                if not project.isPackaged(): continue
  +                
                   packageRow=pkgsTable.createRow()                
  -                packageRow.createComment(package.getName())       
  +                packageRow.createComment(project.getName())       
                               
  -                self.insertLink( package, workspace, packageRow.createData())
  -                self.insertStateDescription( package, workspace, packageRow.createData())
  -                self.insertStateIcon( package, workspace, packageRow.createData())
  +                self.insertLink( project, workspace, packageRow.createData())
  +                self.insertStateIcon( project, workspace, packageRow.createData())
                   
                   packageRow.createData(project.getHomeDirectory())    
           else:
  
  
  

Mime
View raw message