home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
itemprdbob.tcl
< prev
next >
Wrap
Text File
|
1997-10-16
|
3KB
|
116 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)itemprdbob.tcl /main/titanic/6
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)itemprdbob.tcl /main/titanic/6 16 Oct 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require "browsdbobj.tcl"
Class ItemPRDbObj : {BrowsDbObj ItemPropertyReference} {
method destructor
constructor
method promoter
method browserObjType
method browserType
method customLevelVersion
method editFile
method hasChildren
method makeUpToDate
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
}
method ItemPRDbObj::promoter {this} {
$this BrowsDbObj::promoter
module_promoter ItemPRDbObj $this
}
selfPromoter ItemPropertyReference {this} {
ItemPRDbObj promote $this
}
proc ItemPRDbObj::associations {} {
return {}
}
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::customLevelVersion {this} {
return [$this systemVersion]
}
method ItemPRDbObj::editFile {this} {
$this edit
}
method ItemPRDbObj::hasChildren {this} {
return 0
}
proc ItemPRDbObj::infoProperties {} {
return [concat \
[BrowserProcs::infoProperties] \
{Status "Controlled Actions" Path} \
]
}
method ItemPRDbObj::makeUpToDate {this} {
# dummy call to server
$this referredItemKeeper [$this getParent ConfigVersion]
}
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