home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cadre Technologies Inc. 1996
- #
- # File: @(#)ruleuiobj.tcl 1.6
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)ruleuiobj.tcl 1.6 26 Jan 1996 Copyright 1996 Cadre Technologies Inc.
-
- # Start user added include file section
- # End user added include file section
-
- require "browsuiobj.tcl"
-
- Class RuleUiObj : {BrowsUiObj} {
- constructor
- method destructor
- method browserType
- method hasChildren
- method initializeInfo
- attribute roleName
- attribute access
- attribute type
- }
-
- global RuleUiObj::uiClass
- set RuleUiObj::uiClass "AccessRule"
-
-
- constructor RuleUiObj {class this name} {
- set this [BrowsUiObj::constructor $class $this $name]
- # Start constructor user section
- # End constructor user section
- return $this
- }
-
- method RuleUiObj::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this BrowsUiObj::destructor
- }
-
- proc RuleUiObj::associations {} {
- return ""
- }
-
- method RuleUiObj::browserType {this} {
- return [$this type]
- }
-
- proc RuleUiObj::childTypes {assoc} {
- if {[lsearch -exact "[RuleUiObj::associations]" "$assoc"] == -1} {
- return ""
- }
- return "[BrowserProcs::childTypes $assoc]"
- }
-
- method RuleUiObj::hasChildren {this} {
- return 0
- }
-
- proc RuleUiObj::infoProperties {} {
- return [concat \
- [BrowserProcs::infoProperties] \
- {Role Access} \
- ]
- }
-
- method RuleUiObj::initializeInfo {this dummy} {
- $this BrowsUiObj::initializeInfo $dummy
- $this setInfo Role "[$this roleName]"
- $this setInfo Access "[$this access]"
- }
-
- # Do not delete this line -- regeneration end marker
-
-