Bug 4312

Summary: Allow RunState, SourceWindow et al to expand number of observed processes
Product: frysk Reporter: Mike Cvet <mcvet>
Component: generalAssignee: Mike Cvet <mcvet>
Status: RESOLVED FIXED    
Severity: enhancement CC: rmoseley
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1633, 2935    

Description Mike Cvet 2007-04-02 21:08:17 UTC
Currently the number of processes is static; the above need to be able to add 
or remove processes from observation.
Comment 1 Mike Cvet 2007-04-03 16:46:16 UTC
Log message:
	2007-04-03  Mike Cvet  <mcvet@redhat.com>
	
	* SourceWindowFactory.java (startNewProc): Now takes a File parameter.
	(AttachedObserver.updateAttached): Check for the existence of a
	SourceWindow for the given Proc, append the process to that window's
	RunState. Addresses #4312.
Comment 2 Mike Cvet 2007-04-03 19:51:01 UTC
Log message:
	frysk-core/frysk/rt:
	2007-04-03  Mike Cvet  <mcvet@redhat.com>
	
	* RunState.java (addProc): Added. Appends a new process to the current
	RunState. Addresses #4312.
	(removeObserver): Unblock process if the number of observations is
	equal to the number of its Tasks.
Comment 3 Mike Cvet 2007-04-04 14:25:51 UTC
Log message:
	2007-04-04  Mike Cvet  <mcvet@redhat.com>
	
	* SourceWindow.java (appendProc): Add the new Proc to the stack view,
	resensitize widgets after completion. Addresses #4312.
	* CurrentStackView.java (appendRows): Added. Does row appening work for
	tree editing methods.
	(addProc): Added. Will append a Proc and its rows to the stack view.
	Addresses #4312.
	(buildTree): Cleaned up; removed unnecessary code from inside inner 
loop,
	now calls appendRows() for most of tree work.
	(refreshProc): Also cleaned up; moved code outside of loop.
Comment 4 Mike Cvet 2007-04-11 12:55:30 UTC
Fixed per above commits.