home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
shctrllist.tcl
< prev
next >
Wrap
Text File
|
1997-04-22
|
2KB
|
63 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)shctrllist.tcl /main/titanic/2
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)shctrllist.tcl /main/titanic/2 22 Apr 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require_module_file "showroleri.tcl" security
Class ShCtrlListRoleRightDlg : {ShowRoleRightsDlg} {
constructor
method destructor
method getObjectList
method initObjectSet
}
constructor ShCtrlListRoleRightDlg {class this name} {
set this [ShowRoleRightsDlg::constructor $class $this $name]
# Start constructor user section
$this childRights 1
$this initObjectSet
# End constructor user section
return $this
}
method ShCtrlListRoleRightDlg::destructor {this} {
# Start destructor user section
# End destructor user section
$this ShowRoleRightsDlg::destructor
}
method ShCtrlListRoleRightDlg::getObjectList {this} {
set list {}
[$this selectedSet] foreach obj {
lappend list "\"[[$obj controlledClass] name]\" ControlledList"
}
return $list
}
method ShCtrlListRoleRightDlg::initObjectSet {this} {
set browserObject [lindex [.main selectedObjSet] 0]
set controlledLists ""
set _this $this
set this $browserObject
foreach cmd [[$browserObject browserObjType]::controlledLists] {
eval lappend controlledLists $cmd
}
set this $_this
[$this selectedSet] contents $controlledLists
}
# Do not delete this line -- regeneration end marker