home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
checkbrvie.tcl
< prev
next >
Wrap
Text File
|
1997-02-27
|
2KB
|
69 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)checkbrvie.tcl /main/titanic/2
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)checkbrvie.tcl /main/titanic/2 27 Feb 1997 Copyright 1994 Westmount Technology
# Start user added include file section
require checkbrobj.tcl
# End user added include file section
Class CheckBrView : {BrowsView} {
constructor
method destructor
method sortit
method setMessages
attribute messageView
attribute checkDialog
}
constructor CheckBrView {class this name} {
set this [BrowsView::constructor $class $this $name]
# Start constructor user section
$this columnCount 60
$this rowCount 10
$this selectionPolicy BROWSE
$this font "[m4_var get M4_font -context uce]"
BrowsHeader new $this.group -label Group -width 16
BrowsHeader new $this.group -label Level -width 10
BrowsHeader new $this.checkValue -label "Check value" -width 12
BrowsHeader new $this.description -label Description -width 70
# End constructor user section
return $this
}
method CheckBrView::destructor {this} {
# Start destructor user section
# End destructor user section
}
method CheckBrView::sortit {this} {
$this sort -column "$this.checkValue ascii decreasing"
}
method CheckBrView::setMessages {this group} {
foreach entry [[$this messageView] objectSet] {
$entry delete
}
set messageList [[$this checkDialog] getGroup $group]
set count 0
foreach entry $messageList {
BrowsObject new [$this messageView].$count
[$this messageView].$count label "[lindex $entry 0]"
[$this messageView].$count details \{"[lindex $entry 1]"\}
incr count
}
}
# Do not delete this line -- regeneration end marker