ajack 2004/01/16 15:11:24
Modified: python/gump/document forrest.py
Log:
1) More forrest docs tweaks [trying to make it easy to use/navigate/read]
2) Changes total -> full in Project for consistency.
Revision Changes Path
1.53 +8 -14 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.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- forrest.py 16 Jan 2004 21:39:57 -0000 1.52
+++ forrest.py 16 Jan 2004 23:11:24 -0000 1.53
@@ -911,10 +911,9 @@
stateSection=document.createSection('State')
stateList=stateSection.createList()
- stateList.createEntry("State: ", project.getStateDescription())
+ stateList.createEntry("Current State: ", project.getStateDescription())
if not project.getReason() == REASON_UNSET:
- stateList.createEntry("Reason: " + reasonString(project.getReason()))
-
+ stateList.createEntry("Reason: " + reasonString(project.getReason()))
if project.cause and not project==project.cause:
self.insertTypedLink( project.cause, project, stateList.createEntry(
"Root Cause: "))
@@ -923,10 +922,6 @@
detailsSection=document.createSection('Details')
detailsList=detailsSection.createList()
- detailsList.createEntry("State: ", project.getStateDescription())
- if not project.getReason() == REASON_UNSET:
- detailsList.createEntry("Reason: " + reasonString(project.getReason()))
-
self.insertLink(project.getModule(),project,detailsList.createEntry('Module: '))
if project.hasCause() and not project==project.getCause():
@@ -1157,14 +1152,13 @@
if not worklist: return
workSection=xdocNode.createSection(description)
- workTable=workSection.createTable(['Name','Type','State','Start','Elapsed'])
+ workTable=workSection.createTable(['Name','State','Start','Elapsed'])
for work in worklist:
workRow=workTable.createRow()
workRow.createComment(work.getName())
- self.insertLink(work,workable,workRow.createData())
- workRow.createData(work.getName())
+ self.insertLink(work,workable,workRow.createData())
workRow.createData(stateName(work.state))
workRow.createData(secsToDate(work.result.start_time))
workRow.createData(secsToElapsedString(work.getElapsedSecs()))
@@ -1452,7 +1446,7 @@
document=XDocDocument('Statistics',self.resolver.getFile(stats))
document.createParagraph("""
- Statistics from Gump show the depth and health of relationship.
+ Statistics from Gump show the depth and health of inter-relationships.
See side menu for choices.
""")
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]