home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
ccdirdbobj.tcl
< prev
next >
Wrap
Text File
|
1997-05-21
|
3KB
|
132 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)ccdirdbobj.tcl /main/titanic/3
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)ccdirdbobj.tcl /main/titanic/3 21 May 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require_module_file "ccfiledbob.tcl" clearcase
require_module_file "vsdirobj.tcl" vcm
# This class represents a ClearCase directory in the browser.
Class CCDirDbObj : {CCFileDbObj VSDirObj} {
constructor
method destructor
method uiClass
method promoter
method openFile
method showFile
method editFile
method path
method isDirectory
method showFileVersion
}
constructor CCDirDbObj {class this name name} {
set this [CCFileDbObj::constructor $class $this $name $name]
set this [VSDirObj::constructor $class $this $name]
# Start constructor user section
# End constructor user section
return $this
}
method CCDirDbObj::destructor {this} {
# Start destructor user section
# End destructor user section
$this CCFileDbObj::destructor
$this VSDirObj::destructor
}
# Reuse associations of CCFileDbObj
#
proc CCDirDbObj::associations {} {
return "[CCFileDbObj::associations]"
}
# Reuse childTypes of CCFileDbObj.
#
proc CCDirDbObj::childTypes {assoc} {
return "[CCFileDbObj::childTypes $assoc]"
}
# Reuse controlledLists of CCFileDbObj.
#
proc CCDirDbObj::controlledLists {} {
return "[CCFileDbObj::controlledLists]"
}
# Use infoProperties of CCFileDbObj and remove className.
#
proc CCDirDbObj::infoProperties {} {
set propertyList [CCFileDbObj::infoProperties]
set classNameIndex [lsearch $propertyList className]
retrun [join [lreplace $propertyList $classNameIndex $classNameIndex ""]]
}
# Call uiClass in VSDirObj.
#
method CCDirDbObj::uiClass {this} {
return [$this VSDirObj::uiClass]
}
method CCDirDbObj::promoter {this} {
$this VSDirObj::promoter
}
# Call openFile of VSDirObj.
#
method CCDirDbObj::openFile {this} {
return [$this VSDirObj::openFile]
}
# Call showFile of VSDirObj.
#
method CCDirDbObj::showFile {this} {
$this VSDirObj::showFile
}
# Call editFile of VSDirObj.
#
method CCDirDbObj::editFile {this} {
$this VSDirObj::editFile
}
# Call path of VSDirObj.
#
method CCDirDbObj::path {this} {
return [$this VSDirObj::path]
}
# Returns 1.
#
method CCDirDbObj::isDirectory {this} {
return 1
}
# Show a ls of the specified directory version.
#
method CCDirDbObj::showFileVersion {this version} {
# !! Implement this function !!
}
# Do not delete this line -- regeneration end marker