Bug 4312 - Allow RunState, SourceWindow et al to expand number of observed processes
Summary: Allow RunState, SourceWindow et al to expand number of observed processes
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 enhancement
Target Milestone: ---
Assignee: Mike Cvet
URL:
Keywords:
Depends on:
Blocks: 1633 2935
  Show dependency treegraph
 
Reported: 2007-04-02 21:08 UTC by Mike Cvet
Modified: 2007-04-11 11:55 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.