home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cadre Technologies Inc. 1996
- #
- # File: @(#)itemprdbob.tcl /main/2
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)itemprdbob.tcl /main/2 9 Jul 1996 Copyright 1996 Cadre Technologies Inc.
-
- # Start user added include file section
- # End user added include file section
-
- require "browsdbobj.tcl"
-
- Class ItemPRDbObj : {BrowsDbObj ItemPropertyReference} {
- method destructor
- constructor
- method browserObjType
- method browserType
- method editFile
- method hasChildren
- method pathName
- method previewFile
- method showFile
- }
-
- method ItemPRDbObj::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this BrowsDbObj::destructor
- }
-
- constructor ItemPRDbObj {class this name} {
- set this [ItemPropertyReference::constructor $class $this $name]
- set this [BrowsDbObj::constructor $class $this $name]
- return $this
- }
-
- selfPromoter ItemPropertyReference {this} {
- ItemPRDbObj promote $this
- }
-
- proc ItemPRDbObj::associations {} {
- return {accessRuleSet}
- }
-
- method ItemPRDbObj::browserObjType {this} {
- return "ItemPRDbObj"
- }
-
- method ItemPRDbObj::browserType {this} {
- return [$this type]
- }
-
- proc ItemPRDbObj::childTypes {assoc} {
- if {[lsearch -exact "[ItemPRDbObj::associations]" "$assoc"] == -1} {
- return ""
- }
- return "[BrowserProcs::childTypes $assoc]"
- }
-
- proc ItemPRDbObj::controlledLists {} {
- return ""
- }
-
- method ItemPRDbObj::editFile {this} {
- $this edit
- }
-
- method ItemPRDbObj::hasChildren {this} {
- return 1
- }
-
- proc ItemPRDbObj::infoProperties {} {
- return [concat \
- [BrowserProcs::infoProperties] \
- {Status "Controlled Actions" Path} \
- ]
- }
-
- method ItemPRDbObj::pathName {this} {
- return "[path_name concat \
- [[$this document] directory] [$this getPropertyValue fileSystemPath] \
- ]"
- }
-
- method ItemPRDbObj::previewFile {this} {
- $this preview
- }
-
- method ItemPRDbObj::showFile {this} {
- $this show
- }
-
- # Do not delete this line -- regeneration end marker
-
-