home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cadre Technologies Inc. 1996
- #
- # File: @(#)clistuiobj.tcl 1.7
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)clistuiobj.tcl 1.7 26 Jan 1996 Copyright 1996 Cadre Technologies Inc.
-
- # Start user added include file section
- # End user added include file section
-
- require "browsuiobj.tcl"
-
- Class CListUiObj : {BrowsUiObj} {
- constructor
- method destructor
- method controlledLists
- method initializeInfo
- }
-
- global CListUiObj::uiClass
- set CListUiObj::uiClass "ControlledLists"
-
-
- constructor CListUiObj {class this name} {
- set this [BrowsUiObj::constructor $class $this $name]
- # Start constructor user section
-
- $this uiName "<controlled lists>"
- $this uiText "controlled lists"
-
- # End constructor user section
- return $this
- }
-
- method CListUiObj::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this BrowsUiObj::destructor
- }
-
- proc CListUiObj::associations {} {
- return {controlledLists}
- }
-
- proc CListUiObj::childTypes {assoc} {
- if {[lsearch -exact "[CListUiObj::associations]" "$assoc"] == -1} {
- return ""
- }
- return "[BrowserProcs::childTypes $assoc]"
- }
-
- method CListUiObj::controlledLists {this} {
- regsub -all \
- \\\$this [[[$this parent] browserObjType]::controlledLists] \
- "\[\$this parent\]" controlledListsCmd
- set controlledLists ""
- foreach cmd $controlledListsCmd {
- eval lappend controlledLists $cmd
- }
- return $controlledLists
- }
-
- proc CListUiObj::infoProperties {} {
- return [BrowserProcs::infoProperties]
- }
-
- method CListUiObj::initializeInfo {this dummy} {
- $this BrowsUiObj::initializeInfo $dummy
- $this setInfo Text "[$this uiText] of [[$this parent] getInfo Text]"
- }
-
- # Do not delete this line -- regeneration end marker
-
-