home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1996
- #
- # File: @(#)csprocessn.tcl /main/hindenburg/3
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)csprocessn.tcl /main/hindenburg/3 19 Sep 1996 Copyright 1996 Cayenne Software Inc.
-
- # Start user added include file section
- # End user added include file section
-
- require "csnode.tcl"
-
- Class CSProcessNode : {CSNode} {
- constructor
- method destructor
- method doUpdate
- attribute process
- }
-
- constructor CSProcessNode {class this name} {
- set this [CSNode::constructor $class $this $name]
- # Start constructor user section
- # End constructor user section
- return $this
- }
-
- method CSProcessNode::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this CSNode::destructor
- }
-
- method CSProcessNode::doUpdate {this {rebuild 1}} {
- $this CSNode::doUpdate $rebuild
-
- set info [$this info]
- set process [$this process]
-
- $info addHeader "Process"
- $info addItem "Running on host" [$process host]
- $info addItem "Process id" [$process pid]
- $info addItem "Started by" [$process owner]
- }
-
- # Do not delete this line -- regeneration end marker
-
-